fix train encodeing make, negative idle pulse optional

This commit is contained in:
2022-01-20 19:51:03 +01:00
parent ebd3953755
commit 86c36f7a21
4 changed files with 45 additions and 29 deletions

View File

@ -43,13 +43,13 @@ public:
Train(const uint8_t address, uint8_t functionmask = 0b1111);
Train();
void resendData();
void sendData();
void reverse();
void stop();
bool isActive() {return _speed || _function;}
bool isActive() {return getSpeed() || getFunctions();}
uint8_t getAddress();