
Ćwiczenie zrealizowane na potrzeby przedmiotu PPO przez Krzysztofa Bolka
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
Diff: led_lcd.h
- Revision:
- 1:d562d46c33b7
- Parent:
- 0:f4c2a4d3c318
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/led_lcd.h Wed May 20 07:59:22 2020 +0000 @@ -0,0 +1,20 @@ +#ifndef LED_LCD_H +#define LED_LCD_H +#include "LCD_DISCO_F429ZI.h" + +enum LedState { + LED_PRESSED, + LED_RELEASED + }; + + +class LedLcd{ + public: + LedLcd(uint8_t); + void On(uint8_t); + private: + void DrawLed(uint8_t,LedState); + uint8_t ui8Column; + }; + +#endif \ No newline at end of file