Programs: Difference between revisions

117 bytes added ,  5 years ago
Line 23:
====Inputs ====
 
While inputs can be read anywhere in your program, it can be helpful to organize them into a small section that can be run through at points where it really matters. In this example, we have 4 inputs waiting to go ON. These could represent 4 different conveyors coming to the robot.
 
'''IF DI[101] = ON JMP LBL[4]'''