Aa
Dependents: EMBEED_III_zad_4 mbed3 mbed_3 MBED3_zad4
Diff: LED/Led.h
- Revision:
- 1:036ba0fc54a5
diff -r dc55a068bc1a -r 036ba0fc54a5 LED/Led.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LED/Led.h Sat Jun 13 13:28:57 2020 +0000 @@ -0,0 +1,17 @@ +#ifndef LED_H + #define LED_H + #include "LCD_DISCO_F429ZI.h" + + class Led + { + public: + Led(unsigned char ucColumn, unsigned char ucRow); + void On(void); + void Off(void); + private: + unsigned char ucColumn, ucRow; + void Redraw(uint32_t Color); + }; +#else + #error "This class was definied previously" +#endif