2 switches write the data onto one variable instead of creating another variable. Why?
-
Howdy!
I have a problem with a project that I want to create. I want to print the value of the two switches onto the serial monitor, but the problem is that the switch value is writing it to only 1 variable. Is there a way to create another variable, so I can print the data of the both switches?Example picture:
If you can help, or you don't understand, ask me. I'm not good at English because I'm from other country. 😉