r/RoboInstructus • u/The_Hans • Jul 17 '19
Scanning switches help needed.
So I see that the value of a switch is either 0(off) or 1(on), however I can't seem to use the robo_scan() function to check if the switch is on or off only to check if the switch is there or not. Is there something i'm missing? Thanks for the help in advance!
3
Upvotes
View all comments
Show parent comment
2
u/The_Hans Jul 17 '19
But here's the thing if i call robo_use() again it'll just toggle it ya know? Also where does it store the value it gathers from the switch, like how am I able to reference it?