Explanation Pin setup
(LED can have VCC on ANode then: Pin HIGH = OFF, Pin LOW = ON)
One Pin mode,
Function 1, command 3
- data2: Pinn On/Off or Down/Up.
- data3: must set to -1.
One Pin Momentary mode, function 1, command 3
- data2: Pinn.
Momentary with a even number of delayed repetitions.
- data3: must set as data2-Pinn,
1-On/Down or 0-Off/Up has the same result.
Use this Two Pins mode only with a even number of repetitions.
Two Pins Momentary mode, function 1, command 3
- data2:
Pin1n On/Down. Momentary
with a even number of delayed repetitions.
- data3: Pin2n Off/Up.
Momentary with a even number of delayed repetitions.
Use this Two Pins mode only with a even number of repetitions.
(very useful to bridge remote control buttons with optocouplers)
Repetitions, function 2, command 7
- data2: number of repetitions
- data3: delay time in Millis between the repetitions.
One repetition: HIGH
Two repetitions: HIGH->Delay->LOW
Three repetitions: HIGH->Delay->LOW->Delay->HIGH
Four repetitions: HIGH->Delay->LOW->Delay->HIGH->Delay->LOW
(default values: 4 reps and 500ms)
and so on... So even repetitions ends with LOW and
odd repetitions ends with HIGH.
This is very useful with bridged remote control buttons by Wireless Tubular Motors: Two Pins,
Momentary, Repetitions: 4, Duration: 500.
simpleHomeSwitch - Explanation Pin setup
- Details
- Geschreven door Ewald Kendziorra sr
- Categorie: Arduino and ESP
- Hits: 69748
Artikelindex
Pagina 11 van 13