I agree with Allan, Use the if/then statement.
You can connect the output of your IR receiver to the RB pin, just be sure to set which ever pin you use as an input.
Are you going to put the IR emitter inside the room you want the robot to turn into?
Dave
Bookmarks