how to write a mikroc code for ultrasonic sensor hc-sr04

You can post your problem related to Mechatronics Projects here. We will try our best to help you out.
Post Reply
Eugene
Posts: 34
Joined: Mon Feb 20, 2017 11:09 am

how to write a mikroc code for ultrasonic sensor hc-sr04

Post by Eugene » Wed Mar 08, 2017 10:57 am

hi :)
I want to write a mikroc code for ultrasonic sensor hc-sr04 and I need help :eek:
I am using pic16f876a

I am using ultrasonic sensor above my robot ... I want to make my robot go forward when the echo pin got signal and if the distance between my robot and the other one 50 cm or less

couls you plz help me ??

Post Reply