Question

Write an arduino code to program a robot to move forward and check if there is...

Write an arduino code to program a robot to move forward and check if there is an obstacle it will move backward to avoid it and then turn right or left then continue moving forward. (The sensor used is ultrasonic sensors)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

diglel wife ( n3, H), ets e delay tro),Pin Made Cins, ouTpoT); Pin Modo f ne, OUTPUT) void loop( Pf (dista nce I5)Pin Made Cins, OuTPUT) Pin Mado f Ane , OUTPUT) as void loop() RF (distance 1S)ルin void setup C OU7PUT Pinmode in 2, OUTPUT)

Add a comment
Know the answer?
Add Answer to:
Write an arduino code to program a robot to move forward and check if there is...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT