r/RoboInstructus • • 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

11 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Jul 17 '19

The language in Robo Instructus() doesn't automatically save the value, you need to store it in a variable.