|
Re: line sensing code
It's quite easy. If you know how to wire it up to the digital side car then you can just open 3 digital inputs and get teh value of them in boolean format. After that you can use case structures or use "boolean to (0,1)" to tell the drive motors to go left, right, or stop.
__________________
There are 10 types of people in this world. Those that understand binary, and those that don't.
|