Umstellung der Abbremsung auf durchgängig float

This commit is contained in:
2023-05-18 23:12:14 +02:00
parent 349d1d644e
commit a5f5b18a27
2 changed files with 5 additions and 5 deletions

View File

@@ -22,13 +22,13 @@ class Locomotive
private:
int _accelerate;
int _decelerate;
int _currentAcc;
float _currentAcc;
byte _minSpeed;
byte _maxSpeed;
byte _targetSpeed;
const unsigned int _delay=300;
unsigned long _millisStart;
byte _currentSpeed;
float _currentSpeed;
IMotor& _motor;
};