Question: Please provide a step by step solution. Thank you so much for your kind assistance! :)) 6. (6 pts) You are developing an EasyCPro program


Please provide a step by step solution. Thank you so much for your kind assistance! :))
6. (6 pts) You are developing an EasyCPro program for a robot with two motors and four sensors (two bumper switches and two limit switches) to perform the following tasks: The robot should continue moving until it hits an obstacle. Upon hitting an obstacle (any one of the sensors is activated), it should stop, pause, backup, pause, turn and continue a) Explain what is happening in the code outlined by the red box b) Fill in the missing code where indicated. #include "Mainh" void main (void) : int limit int limit2; int bumperl; int bumper2; while (1--1) limitl GetDigitalInput (5); limit2 GetDigitallnput (6)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
