![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
A project that aims at making a LED based light system controlled by microcontroller and with BLE (soon) with smooth color transitions.
Diff: LEDManager.h
- Revision:
- 2:0bbd4fc5e202
- Parent:
- 0:b350f8395bff
- Child:
- 3:25af55580ef6
diff -r 8b80523d8959 -r 0bbd4fc5e202 LEDManager.h --- a/LEDManager.h Fri Aug 18 09:10:40 2017 +0000 +++ b/LEDManager.h Fri Aug 18 11:26:01 2017 +0000 @@ -16,6 +16,7 @@ this->fadeFactor = 100; this->situation = 1; this->fadeUpdatePeriod = 10000; + this->prevFadeUpdate = 0; } LEDManager(DigitalOut *io, int period_us) @@ -73,6 +74,10 @@ { this->fadeFactor = fadeFactor; }*/ + int getHighTime() + { + return this->highTime; + } private: DigitalOut *io;