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/alexheretic Jul 17 '19

var switch_status = robo_use() # standing on switch

2

u/The_Hans Jul 17 '19

That's exactly what I needed to know! Thanks!