8000 Update index.md · robokoding/robokoding.github.io@be7bcb9 · GitHub
[go: up one dir, main page]

Skip to content

Commit be7bcb9

Browse files
author
Silver Kuusik
authored
Update index.md
1 parent 93c15b8 commit be7bcb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_pages/kits/sumointerface/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The control panel of the SumoInterface is where you can connect your SumoRobot w
2525
![battery_full_charging](/assets/img/sumorobot/sumointerface/battery_full_charging.png)
2626
Once the SumoInterface is connected to the SumoRobot you can see the battery icon (up right corner) red, orange or green. This shows the battery charge status of your SumoRobot. Red means that the battery is pretty empty and it should be charged as soon as possible. Your SumoRobot can randomly reset at times when it has low battery. When your SumoRobot is not connected or disconnects from the SumoInterface the battery icon will be with a red cross. Then you can try to reset your SumoRobot by pressing the RESET button underneath the SumoRobot next to he micro USB port. The lightning icon works on SumoBoard v0.4.0 and higher and indicates if the micro USB cable is connected to the SumoRobot to charge the battery.
2727

28-
To program your SumoRobot move available blocks from the left toolbox (gray) to the right workspace (white) (see on the image below). You can delete code by dragging it to the trash bin or to the the left toolbox (gray). You can also observe the MicroPython code on the right that is created using the blocks. Once **Start** is pressed the JavaScirpt code on the right gets executed and the block highlight (bright) starts to work (see on the image below). The highlight shows how the SumoRobot is executing the code that you have made. The code is executed from top to bottom.
28+
To program your SumoRobot move available blocks from the left toolbox (gray) to the right workspace (white) (see on the image below). You can delete code by dragging it to the trash bin or to the the left toolbox (gray). You can also observe the MicroPython code on the right that is created using the blocks. Once **Start** is pressed the MicroPython code on the right gets executed and the block highlight (bright) starts to work (see on the image below). The highlight shows how the SumoRobot is executing the code that you have made. The code is executed from top to bottom.
2929

3030
![if_do](/assets/img/sumorobot/sumointerface/if_do.png)
3131
The if_do command block is used to make conditions with opponent and/or line. This allows you to execute commands when a certain condition is true. For example when the SumoRobot sees something in front of it or it sees a line under it.

0 commit comments

Comments
 (0)
0