volatile pro promenne, menene i z interruptu
This commit is contained in:
parent
d274be3897
commit
bb9f036dec
@ -137,9 +137,9 @@ protected:
|
|||||||
uint8_t _scale;
|
uint8_t _scale;
|
||||||
uint8_t _color[3];
|
uint8_t _color[3];
|
||||||
Ticker _handler;
|
Ticker _handler;
|
||||||
ledstate_t _ledState; // stav LEDky (blika, dycha, ...)
|
volatile ledstate_t _ledState; // stav LEDky (blika, dycha, ...)
|
||||||
ledstate_t _savedState; // stav pro navrat
|
volatile ledstate_t _savedState; // stav pro navrat
|
||||||
int _subState; // pomocny stav/index v poli dychani
|
volatile int _subState; // pomocny stav/index v poli dychani
|
||||||
uint32_t _pulseDuration;
|
uint32_t _pulseDuration;
|
||||||
uint32_t _blinkSpeed;
|
uint32_t _blinkSpeed;
|
||||||
LEDRGB _pulseColor;
|
LEDRGB _pulseColor;
|
||||||
|
Loading…
Reference in New Issue
Block a user