Page 012 Teaching Events - johnmholmes/Arduino-CBUS--Introduction-Series GitHub Wiki
Page updated 2/10/24
YouTube Video
The latest in the series of videos is now available walking through this process.
Stage 1 Added 2nd module
- I have add a second module to the CBUS network in the same way as we did in page 10 of the wiki
- Node variables have been set for the inputs.
- I have not yet grounded out the 6 input pins.
Stage 2 Teach event 1
- Select the producer module by highlighting it.
- In the events associated window.
- Select the event you want to use as the trigger.
- Drag and drop that event to the node you want to teach the event to.
- Value 1 is used for start of day events for the module to report the current switch states. I will not be using this at this stage so will not explain it.
- Value 2 will use the first led, which in my case is attached to pin 3.
- You have 4 options to choose from.
- 0 equals led off.
- 1 equals led on.
- 2 flash led every 500 milli-seconds.
- 3 flash led every 250 milli-seconds.
- you could change the flash rates within the sketch if you wished. Lines 346 & 350 in my example.