Closed Japh closed 9 years ago
I think this code could possibly be a little simpler. Bash is a bit painful that way. But now there's a toggle endpoint!
Press the button. Light's on? It goes off. Light's off? It goes on.
I think this code could possibly be a little simpler. Bash is a bit painful that way. But now there's a toggle endpoint!
Press the button. Light's on? It goes off. Light's off? It goes on.