Skip to content

Commit 54be994

Browse files
Fixed formatting issue
1 parent ec6b466 commit 54be994

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

TASK.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# CE243 Assignment 2
2+
13
Your task is to design and write a C program to control an EMoRo robot. Your program should use the
24
push buttons on its GLAM board to input commands and use its LCD to display messages.
35
The functions of four buttons are specified below:
@@ -11,14 +13,15 @@ SW_4.
1113

1214
These buttons will trigger the EMoRo robot to implement different tasks.
1315
More specifically,
14-
Pressing SW_1 triggers the EMoRo robot to move forward and avoid any obstacle
16+
- Pressing SW_1 triggers the EMoRo robot to move forward and avoid any obstacle
1517
detected by its on-board sonar sensors.
16-
Pressing SW_2 triggers the EMoRo robot to move along a circle track which is
18+
- Pressing SW_2 triggers the EMoRo robot to move along a circle track which is
1719
very smooth.
18-
Pressing SW_3 triggers the EMoRo robot to move along a square track that has
20+
- Pressing SW_3 triggers the EMoRo robot to move along a square track that has
1921
four sharp turns at 90 degrees.
20-
Pressing SW_4 will stop the movement of the EMoRo robot and reset the
22+
- Pressing SW_4 will stop the movement of the EMoRo robot and reset the
2123
embedded computer for next button input.
24+
2225
LCD: All messages should be displayed on the LCD device on the robot.
2326
1) When the robot is switched on or after SW_4 is pressed, the LED should
2427
display the following message:
@@ -31,4 +34,4 @@ the robot is turning at the corners of the square track, the LCD shows Sharp
3134
turning *** degrees. When the robot moves along the straight line sections,
3235
the LCD shows Square track following.
3336
Libraries: You should use the EMoRo2560 library provided in Moodle to write your C
34-
program.
37+
program.

0 commit comments

Comments
 (0)