mbed2_5
Dependencies: LCD_DISCO_F429ZI mbed BSP_DISCO_F429ZI
Diff: Led.h
- Revision:
- 0:edf190717f4f
diff -r 000000000000 -r edf190717f4f Led.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Led.h Sun May 24 18:45:14 2020 +0000 @@ -0,0 +1,20 @@ +#ifndef LED_H +#define LED_H + +#include "LCD_DISCO_F429ZI.h" + +class Led{ + private: + LCD_DISCO_F429ZI lcd; + void On(unsigned char); + void DrawServo(); + unsigned char ucLineXpos; + unsigned char ucLineYpos; + unsigned char ucCurrentIndex; + public: + Led(); + void StepRight(); + void StepLeft(); +}; + +#endif \ No newline at end of file