bug fix static in motor und speed

This commit is contained in:
2022-01-29 12:25:06 +01:00
parent 1265cfda5c
commit 9c4c82f8b3
18 changed files with 197 additions and 99 deletions
+4 -1
View File
@@ -48,8 +48,9 @@ class MotorControl {
* functions returns immediately.
* @see runMotorControl()
* @see DELAY
* @return time since the last call in Milliseconds
*/
void loop();
uint16_t loop();
/**
* @brief Normaly called repeatedly by loop() to update the pwm signal.
@@ -161,6 +162,8 @@ class MotorControl {
uint8_t dir_2;
uint8_t delay = DELAY;
uint8_t powersteps = POWERSTEPS;
uint32_t last_millis = 0;
};