bobbycar/controller_teensy/README.md

79 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2024-07-14 08:34:29 +00:00
# Bobbycar Controller
## Serial Commands
If Vusb jumper on PCB is soldered, do not connect USB while LiPo is connected!
**echo off**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
Turn off serial command echo.
Useful for automated transfer.
**echo on**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
Turns on serial command echo.
Useful for manual command execution.
**test**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
Returns "OK"
**ls**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
List files on SD card in a machine readable way.
One file per line with full path.
**la -a**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
List files tab formatted. With file sizes.
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
**cat FILENAME**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
Print out the contents of a specified file.
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
If no filename given, the current active logfile is used.
**get FILENAME**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
Sends the contents of a specified file in chunks.
Waits for the checksum of the send chunks before sending the next chunk.
Exits with an error message when checksum does not match.
Used for automated transfer of files.
**sizeof FILENAME**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
Returns the size in bytes of the specified file.
**chunksize SIZE**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
Sets the size of chunks for file transmission. See **get** command.
Default is 128.
**rm FILENAME**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
Deletes file from sd card.
**log off**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
Turns off logging flag.
**log on**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
Turns on logging flag.
**show stats**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
Prints some current stats values.
One variable per line.
2024-07-14 08:39:58 +00:00
2024-07-14 08:39:12 +00:00
Format: parametername\<Tab\>value
2024-07-14 08:34:29 +00:00
**show sensors**
2024-07-14 08:39:58 +00:00
2024-07-14 08:34:29 +00:00
Prints some sensor values that are useful in standstill.
One variable per line.
2024-07-14 08:39:58 +00:00
2024-07-14 08:39:12 +00:00
Format: parametername\<Tab\>value
2024-07-14 08:34:29 +00:00