Stm for the project "Fahradlicht"
STM_Fahrrad_Licht.h
- Committer:
- lordofthestorm12
- Date:
- 2018-11-23
- Revision:
- 0:3d7042171419
File content as of revision 0:3d7042171419:
#ifndef STM_FAHRRAD_LICHT_H #define STM_FAHRRAD_LICHT_H #include "mbed.h" #include "Led_Func_Lib.h" enum CurState{OFF, ALL, LL, LR, BLINKI, DEFBLINKI,POLICELIGHT}; class StateDefine : Led_Func{ public: StateDefine(); void st_off(); void st_all(); void st_ll(); void st_lr(); void st_blinki(); void st_defblinki(); void st_policelight(); void STATEChange(CurState aCS, float aCurTimerVal); private: Led_Func _STMLed; protected: Timer _stmTimer; int _curLEDPos; float _timerval; }; #endif