add speed/current logging

This commit is contained in:
2026-09-08 22:44:24 +03:00
parent d2463f759b
commit 985a179b87
7 changed files with 116 additions and 13 deletions

View File

@@ -26,13 +26,16 @@
// Handlers in this list MUST be in sortered order (by name)!!!
#define HANDLERS_LIST() \
NEW_HANDLER(forbidden, "forbid (1) or permit (0) dome operations") \
NEW_HANDLER(logprefix, "prefix of log file for nth motor (prefix_%d.log), max 31 chars") \
NEW_HANDLER(motcurrent, "maximal motor current") \
NEW_HANDLER(motnum, "active motor number for status requests") \
NEW_HANDLER(motspeed, "motor speed") \
NEW_HANDLER(motstatus, "motor status") \
NEW_HANDLER(nmotors, "amount of working motors") \
NEW_HANDLER(speed, "speed setter") \
NEW_HANDLER(startlog, "start logging") \
NEW_HANDLER(stop, "stop motors") \
NEW_HANDLER(stoplog, "stop logging and close log file") \
/*NEW_HANDLER(current, "current setter") \*/
/*NEW_HANDLER(relay, "relay command") \*/