LOLIN D32 mit 3.7V LiPo-Akku steuert vier RC-Servos
Based on Skeleton Embedded Application (wiring-skeleton) , powered by PlatformIO.
The project is configured to run on the following controller board:
In order to test and run the CLI commands, a terminal emulation program shall be used. The one giving you the best experience will be the HTerm.
Load the hterm-com10.cfg file (to be found in the project root directory) to configure HTerm properly. Alter the COM10 accordingly to the one that has been selected on your computer.
dbg Debug CLI root node
tr Debug Trace Port config access
heap Particular Trace Port (heap: see below in chapter Trace Port)
out Trace Output config access for the current trace port
get Show the assigned Trace Output
set <outName> Set a particular Trace Output name
list Show all available Trace Output names (& currently selected)
lvl Trace Level config access for the current trace port
get Show the current trace level
set <level> Set a particular trace level
list Show all available trace levels (& currenntly selected)
led
out
...
lvl
...
wifi
mqtt
led Built in LED access
set Set LED state (Usage: dbg led set [blink[ <blinkTimeMillis>]|on|off])
pulse Send a pulse (Usage: dbg led pulse[ <pulseLengthMillis>])
srvpwr Servo Power Enable.
set Set the servo power enable (Usage: dbg srvpwr set [on|off])
ax{0..3} Axis debug commands.
set (Usage: dbg ax<i> <angle> <velocity>; i: 0..3, angle: -90..90, velocity: 1..500)
dbg tr heap lvl set debugdbg led set ondbg led set blink
| Trace Port | default level | functionality |
|---|---|---|
| heap | info | if set to debug level: automatically print free heap memory [bytes], every 10 seconds |
| led | notice | used for dbg led CLI commands print out (which level is defined as alert) |
| srvpwr | notice | used for dbg srvpwr CLI commands print out (which level is defined as alert) |
| batt | notice | if set to debug level: automatically print battery status info, every 10 seconds |
| mqttctrl | ||
| conmon | ||
| mqttrx | ||
| mqttled | ||
| mqttdfltsub | ||
| tax<0..3> | ||
| ax<0..3> |