msab2006
Newbie level 4
I'm currently working on a project the uses an IR sensor to control the start and stop of a DC motor. The idea is to receive the input from the IR sensor through 1 port when the sensor sense an object, and output to start the motor through another port. I'm having trouble with the c codes. Can any of you help me with the codes from this? Need it asap. FYI, i'm using a PIC18F452. Thanks.