fix some bugs in 3steppers

This commit is contained in:
2022-06-10 20:07:41 +03:00
parent 80726e1c2b
commit 16f72f6801
13 changed files with 276 additions and 88 deletions

View File

@@ -52,7 +52,8 @@ typedef enum{
typedef errcodes (*fpointer)(uint8_t par, int32_t *val);
enum{
CMD_PING // ping device
CMD_NONE // omit zero
,CMD_PING // ping device
,CMD_RELAY // relay on/off
,CMD_BUZZER // buzzer on/off
,CMD_ADC // ADC ch#
@@ -86,6 +87,7 @@ enum{
,CMD_GOTOZERO // go to zero's ESW
,CMD_MOTORSTATE // motor state
,CMD_ENCPOS // position of encoder (independing on settings)
,CMD_SETPOS // set motor position
//,CMD_STOPDECEL
//,CMD_FINDZERO
// should be the last: