mbed2_5
Dependencies: LCD_DISCO_F429ZI mbed BSP_DISCO_F429ZI
Led.h@0:edf190717f4f, 2020-05-24 (annotated)
- Committer:
- wolve265
- Date:
- Sun May 24 18:45:14 2020 +0000
- Revision:
- 0:edf190717f4f
final
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wolve265 | 0:edf190717f4f | 1 | #ifndef LED_H |
wolve265 | 0:edf190717f4f | 2 | #define LED_H |
wolve265 | 0:edf190717f4f | 3 | |
wolve265 | 0:edf190717f4f | 4 | #include "LCD_DISCO_F429ZI.h" |
wolve265 | 0:edf190717f4f | 5 | |
wolve265 | 0:edf190717f4f | 6 | class Led{ |
wolve265 | 0:edf190717f4f | 7 | private: |
wolve265 | 0:edf190717f4f | 8 | LCD_DISCO_F429ZI lcd; |
wolve265 | 0:edf190717f4f | 9 | void On(unsigned char); |
wolve265 | 0:edf190717f4f | 10 | void DrawServo(); |
wolve265 | 0:edf190717f4f | 11 | unsigned char ucLineXpos; |
wolve265 | 0:edf190717f4f | 12 | unsigned char ucLineYpos; |
wolve265 | 0:edf190717f4f | 13 | unsigned char ucCurrentIndex; |
wolve265 | 0:edf190717f4f | 14 | public: |
wolve265 | 0:edf190717f4f | 15 | Led(); |
wolve265 | 0:edf190717f4f | 16 | void StepRight(); |
wolve265 | 0:edf190717f4f | 17 | void StepLeft(); |
wolve265 | 0:edf190717f4f | 18 | }; |
wolve265 | 0:edf190717f4f | 19 | |
wolve265 | 0:edf190717f4f | 20 | #endif |