mirror of
https://github.com/anklimov/lighthub
synced 2026-05-06 22:15:49 +00:00
Motor driver fix and extension (auto switch PWM/NON PWM, Motor Quota)
This commit is contained in:
@@ -8,6 +8,13 @@
|
||||
#define POS_ERR 2
|
||||
#endif
|
||||
|
||||
// The number of simultaniusly working motors
|
||||
#ifndef MOTOR_QUOTE
|
||||
#define MOTOR_QUOTE 2
|
||||
#endif
|
||||
|
||||
static int8_t motorQuote = MOTOR_QUOTE;
|
||||
|
||||
class out_Motor : public abstractOut {
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user