Improve power denial handling
This commit is contained in:
@@ -45,8 +45,10 @@ class Motor{
|
||||
* @attention it is requried at any time to use that method to access the motors or methods of the motionclass to avoid such peaks.
|
||||
*
|
||||
* @param duty the duty cyle that should be set, can be between 0-8192
|
||||
*
|
||||
* @return true if the speed was set, false if the power was not granted in time
|
||||
*/
|
||||
void setSpeed(uint16_t duty);
|
||||
bool setSpeed(uint16_t duty);
|
||||
|
||||
/**
|
||||
* @brief returns the currently activ speed
|
||||
|
||||
Reference in New Issue
Block a user