What steps will reproduce the problem? 1. Load Examples ... 04. Communcations... SerialEvent example 2. Add while (!Serial) ; after Serial.begin() in setup 3. Upload to a Leonardo board, type stuff in ...
/* serial_pin_control_with_breathing - take commands from serial and light or extinguish leds based on it Demonstration of taking serial commands while doing something else. */ int max_led=7; int ...