AGH UST MBED part 2
Dependencies: LCD_DISCO_F429ZI mbed BSP_DISCO_F429ZI
led.h@4:e48aee3e8d09, 2020-05-21 (annotated)
- Committer:
- matis755
- Date:
- Thu May 21 11:03:32 2020 +0000
- Revision:
- 4:e48aee3e8d09
Ready without GUI;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
matis755 | 4:e48aee3e8d09 | 1 | #ifndef LED |
matis755 | 4:e48aee3e8d09 | 2 | #define LED |
matis755 | 4:e48aee3e8d09 | 3 | |
matis755 | 4:e48aee3e8d09 | 4 | #include "mbed.h" |
matis755 | 4:e48aee3e8d09 | 5 | |
matis755 | 4:e48aee3e8d09 | 6 | class Led { |
matis755 | 4:e48aee3e8d09 | 7 | private: |
matis755 | 4:e48aee3e8d09 | 8 | DigitalOut led0; |
matis755 | 4:e48aee3e8d09 | 9 | DigitalOut led1; |
matis755 | 4:e48aee3e8d09 | 10 | DigitalOut led2; |
matis755 | 4:e48aee3e8d09 | 11 | DigitalOut led3; |
matis755 | 4:e48aee3e8d09 | 12 | public: |
matis755 | 4:e48aee3e8d09 | 13 | void On(unsigned char); |
matis755 | 4:e48aee3e8d09 | 14 | Led(); |
matis755 | 4:e48aee3e8d09 | 15 | }; |
matis755 | 4:e48aee3e8d09 | 16 | |
matis755 | 4:e48aee3e8d09 | 17 | |
matis755 | 4:e48aee3e8d09 | 18 | #endif |