Update controller_teensy/README.md

This commit is contained in:
interfisch 2024-07-14 08:39:58 +00:00
parent 8ebfef2df4
commit 8a3fdaa574
1 changed files with 18 additions and 0 deletions

View File

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