Go Down

Topic: switch problems (Read 483 times) previous topic - next topic

kdun0001

how can i make the switch output as it was in the beginning as it is pressed one time

PaulS

Quote
how can i make the switch output as it was in the beginning as it is pressed one time

You can't affect the output of a function. You can modify the value in a variable, but you really should treat the output from digitalRead() as though it is read only.

Go Up