![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
publish for RS
Dependencies: BLE_API mbed nRF51822
Fork of rbChromaOffice by
Diff: patterns.cpp
- Revision:
- 11:45f76d2b5b8c
- Parent:
- 9:02ac9f6bb320
diff -r eb100af346bf -r 45f76d2b5b8c patterns.cpp --- a/patterns.cpp Fri Dec 16 17:02:34 2016 +0000 +++ b/patterns.cpp Sat Dec 17 16:04:55 2016 +0000 @@ -99,7 +99,8 @@ void iceflakes(int delay, uint8_t numLEDs, neopixel_strip_t m_strip) { uint8_t led; - for (int i=0; i < numLEDs; i++) + + for (uint8_t i=0; i < numLEDs; i++) neopixel_set_color(&m_strip, i, 235,235,235); //turn every pixel white led = rand()%numLEDs;