-
Notifications
You must be signed in to change notification settings - Fork 0
Home
MatsK edited this page Sep 14, 2010
·
6 revisions
LEDtoggler.pde
Waits for control values to be sent via the serial connection and toggles LEDs on and off.
After loading LEDtoggler to arduino, start the serial console and start to type the commands [0-4].
The number of outputs can be trivially varied to suit your needs.
Command Responce
0 = All LED’s off
1 = Toggle LED1 on/off
2 = Toggle LED2 on/off
3 = Toggle LED3 on/off
4 = Toggle LED4 on/off
9 = All LED’s on
Pin 5 - 4,7K - LED1 - +5Volt
Pin 6 - 4,7K - LED2 - +5Volt
Pin 7 - 4,7K - LED3 - +5Volt
Pin 8 - 4,7K - LED4 - +5Volt