Hello,
I have another dumb question, how could I blink my leds with one single color, only one time when I recieve a message from serial port?
And with no delay().
Best regards
Hello,
I have another dumb question, how could I blink my leds with one single color, only one time when I recieve a message from serial port?
And with no delay().
Best regards
while (Serial.available() > 0) {
EVERY_N_MILLISECONDS( 200 );
fill_solid(leds),CRGB(0,0,255);
FastLED.show;
}
If that blinks too long you have to use variables like new_message = true and a for (int i = 0; i <1; i++ ) loop