![]() I want to make the logic that when led1 is on if I press switch2 led2 shouldn't be on and wait for the Serial.read to happen. My problem is when one switch is on other shouldn't be working till the Serial.read happens.But in my case, when led1 is on if I press switch2 led2 is on and led1 is off. After that other switch is pressed and other led is on. ![]() Then there is a Serial.read function, which reads reset from the computer. When one switch is pressed one led is on and other is off. I have two leds and corresponding two switches.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |