Arduino serial monitor control LEDS

the project is to control 4 LEDs by serial monitor Arduino Uno.

by input

[1,0,1,1]

in serial monitor we should do the following :

1th led = turn on
2th led = turn off
3th led = turn on
4th led = turn on

can someone help me how can i do this ?

It sounds a simple enough assignment.
Maybe start here: Serial Input Basics - updated

1 Like

Also have a look at the serial coms examples provided with the IDE.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.