Future Electronics
/
sequana-rgb-led_summmit2019
LED driver.
Diff: main.cpp
- Revision:
- 9:de0cfb4301d5
- Parent:
- 8:edc0db715dda
--- a/main.cpp Fri Mar 22 13:23:42 2019 +0000 +++ b/main.cpp Fri Mar 22 14:14:12 2019 +0000 @@ -178,7 +178,7 @@ // This function is used to set the direction of rotation of the leds if(UserButton){ - if(++led_counter > 7) led_counter = 0; // Left spin + if(++led_counter > 7) led_counter = 0; // Right spin }