|
Re: Question about the IR sensor
Right now i've started to program the IR sensor in easyC. A real easy way to get input to the robot from these things is interupts! easyC makes interupts EXTREMELY EASY! Dragging interupt blocks in, initializing them, and having 4 if statements to get it to send different values to the motors worked very well. I did start to run into what could be a killer later. The IR recciver is fairly directional. Multiple vishay reccivers, and an IR floodlight will probably be required to get a long distance, omnidirectional control system with IR.
|