Help the motor code!

Status
Not open for further replies.

Yi Wei Beh

Newbie level 1
Joined
Aug 20, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
8
i am using the Tx and Rx for the manual control to my project, Mop Cleaner.
but i am a beginner of using MPLAB. i need someone to help me the code.

first of all, i wan to explain my project working.

automatic part,
using the 2 IR sensor with Tx and Rx, if detect the object, the car will move left side. If again, will turn backside.
and continue forward. so the output to the DC motor. Any1 can help me the code? or just gv me a example also can really nid help on my future
 

usually ultrasonic sensors are used for this purpose , but i guess infra red can be used too .

check this sample code an di helps it would help
**broken link removed**
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…