mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-01 06:57:43 +00:00
Update xdrv_25_A4988_Stepper.ino
This commit is contained in:
parent
72990ad9ae
commit
19c42f3893
@ -57,10 +57,11 @@ void A4988Init(void)
|
||||
, A4988_ms3_pin );
|
||||
}
|
||||
|
||||
const char kA4988Commands[] PROGMEM = "|" //no prefix
|
||||
"motorMove|motorRotate|motorTurn|motorMIS|motorSPR|motorRPM";
|
||||
const char kA4988Commands[] PROGMEM = "Motor|" // prefix
|
||||
"Move|Rotate|Turn|MIS|SPR|RPM";
|
||||
|
||||
void (* const A4988Command[])(void) PROGMEM = { &CmndDoMove,&CmndDoRotate,&CmndDoTurn,&CmndSetMIS,&CmndSetSPR,&CmndSetRPM};
|
||||
void (* const A4988Command[])(void) PROGMEM = {
|
||||
&CmndDoMove,&CmndDoRotate,&CmndDoTurn,&CmndSetMIS,&CmndSetSPR,&CmndSetRPM};
|
||||
|
||||
void CmndDoMove(void) {
|
||||
if (XdrvMailbox.data_len > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user