File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1- To design and write a C program to control an EMoRo robot. Your program should use the
1+ Your task is to design and write a C program to control an EMoRo robot. Your program should use the
22push buttons on its GLAM board to input commands and use its LCD to display messages.
33The functions of four buttons are specified below:
44- SW_1: Forward motion and Obstacle avoidance
55- SW_2: Line following (move along a circle track)
66- SW_3: Line following (move along a square track)
77- SW_4: Stop the motion of the robot and reset the computer for next button input.
8+
89Button: The input to your program will be the four push buttons, SW_1, SW_2, SW_3 and
9- SW_4. These buttons will trigger the EMoRo robot to implement different tasks.
10+ SW_4.
11+
12+ These buttons will trigger the EMoRo robot to implement different tasks.
1013More specifically,
1114Pressing SW_1 triggers the EMoRo robot to move forward and avoid any obstacle
1215detected by its on-board sonar sensors.
You can’t perform that action at this time.
0 commit comments