Skip to content

Commit dc1df78

Browse files
committed
tutorial - getting code on your robot
1 parent f39defe commit dc1df78

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

tutorials/getting_code_on_the_robot.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,11 @@ title: Getting Code on the Robot
66
# Getting Code on the Robot
77

88
Getting your code on to the robot is quite simple.
9-
You will need to put your code on a USB drive
10-
which will need to be formatted with either FAT32, exFAT or ext2/3/4.
9+
You will need to put your code on a USB drive which will need to be formatted with either FAT32, exFAT or ext2/3/4.
1110
Upon plugging in the drive or starting up, the robot will run the `robot.py` file found in the root of the drive.
1211

13-
To re-run your program, simply remove the USB stick from the robot and plug it
14-
back in again and it will restart automatically.
12+
To re-run your program, simply remove the USB stick from the robot and plug it back in again and it will restart automatically.
1513

16-
<div class="info" markdown="1">
17-
The `robot.zip` format previously used is no longer supported.
18-
Code files must be directly in the root of the USB drive to be run.
19-
</div>
2014

2115
## Windows
2216

@@ -26,6 +20,7 @@ back in again and it will restart automatically.
2620
4. Open your USB drive in File Explorer
2721
5. Right-click in the directory and click "Paste"
2822

23+
2924
## macOS
3025

3126
1. Open your code in Finder
@@ -34,7 +29,8 @@ back in again and it will restart automatically.
3429
4. Open your USB drive in Finder
3530
5. Right-click in the directory and click "Paste N items"
3631

32+
3733
## Robot Logs
3834

39-
When your program runs on the robot, the output of `print(...)` statements and
40-
any errors which occur are written to a log file on the USB stick as `log.txt`.
35+
When your program runs on the robot, the output of `print(...)` statements and any errors which occur are written to a log file on the USB stick as `log.txt`.
36+
These logs are also available to view live on the [web interface]({{ site.baseurl }}/kit/brain_board/wifi).

0 commit comments

Comments
 (0)