Skip to content

Commit 2667cbd

Browse files
committed
Add SR API Cheat Sheet
Fixes #231
1 parent b8f6d21 commit 2667cbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

programming/sr/cheat_sheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ arena = R.arena # -> 'A'
250250
This is set to `COMP` when your robot is in a match.
251251

252252
~~~~~ python
253-
robot_mode = r.mode # -> DEV or COMP
253+
robot_mode = R.mode # -> DEV or COMP
254254
~~~~~
255255

256256
### USB Key Path
@@ -260,5 +260,5 @@ This is the path to where your USB key is mounted.
260260
You can use this to save files and information to the drive.
261261

262262
~~~~~ python
263-
usb_key_path = r.usbkey # -> pathlib.Path
263+
usb_key_path = R.usbkey # -> pathlib.Path
264264
~~~~~

0 commit comments

Comments
 (0)