Umstellung der Abbremsung auf durchgängig float
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user