Writing and debugging code to control LEDs via Serial Library