Question: For the next problem, you also available in the open computer lab in E390 o to the E10 lab and use EasyC Pro to test

 For the next problem, you also available in the open computer
lab in E390 o to the E10 lab and use EasyC Pro

For the next problem, you also available in the open computer lab in E390 o to the E10 lab and use EasyC Pro to test the code. EasyC Pro is 6. (6 pts) You are developing an EasyCPro program for a robot with two motors and four sensors (two bumper sw itches 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. Fill in the missing code where indicated. b) #include "Manh" void main (void) int limit1; int limit2; int bumperl; int bumper2 while (-1) limit1- GetDigitallnput (5); limit2 - GetDigitalInput (6); Page 3 of 4 For the next problem, you also available in the open computer lab in E390 o to the E10 lab and use EasyC Pro to test the code. EasyC Pro is 6. (6 pts) You are developing an EasyCPro program for a robot with two motors and four sensors (two bumper sw itches 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. Fill in the missing code where indicated. b) #include "Manh" void main (void) int limit1; int limit2; int bumperl; int bumper2 while (-1) limit1- GetDigitallnput (5); limit2 - GetDigitalInput (6); Page 3 of 4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!