blynk & neopixelring & w7500
Dependencies: BlynkNeopixelW7500 Blynk_Example_WIZwiki-W7500 WIZnetInterface_ WS2812 mbed
Fork of Blynk_Example_WIZwiki-W7500 by
Diff: main.cpp
- Revision:
- 3:523ddb62698b
- Parent:
- 2:270491d6e155
--- a/main.cpp Mon Nov 27 11:50:09 2017 +0000 +++ b/main.cpp Tue Nov 28 00:49:57 2017 +0000 @@ -75,7 +75,7 @@ { int d = param.asInt(); printf("rainbow button value : %d\r\n", d); - while(d){ + if(d){ for(int j=0; j<256*5; j++) { for(int i=0; i< WS2812_BUF; i++) { colorbuf[i]=Wheel(((i * 256 / WS2812_BUF) + j) & 255);