Markus Reiner
lauflicht.h@0:b0b154bd08c7, 2018-06-21 (annotated)
- Committer:
- mexx
- Date:
- Thu Jun 21 06:11:29 2018 +0000
- Revision:
- 0:b0b154bd08c7
Lauflicht Reiner
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mexx | 0:b0b154bd08c7 | 1 | #include "mbed.h" |
mexx | 0:b0b154bd08c7 | 2 | #ifndef lauflicht_H |
mexx | 0:b0b154bd08c7 | 3 | #define lauflicht_H |
mexx | 0:b0b154bd08c7 | 4 | |
mexx | 0:b0b154bd08c7 | 5 | class FourLeds |
mexx | 0:b0b154bd08c7 | 6 | { |
mexx | 0:b0b154bd08c7 | 7 | private: |
mexx | 0:b0b154bd08c7 | 8 | BusOut _ledbus; |
mexx | 0:b0b154bd08c7 | 9 | |
mexx | 0:b0b154bd08c7 | 10 | public: |
mexx | 0:b0b154bd08c7 | 11 | FourLeds(PinName pin, PinName pin1, PinName pin2, PinName pin3): |
mexx | 0:b0b154bd08c7 | 12 | _ledbus(pin,pin1,pin2,pin3) |
mexx | 0:b0b154bd08c7 | 13 | { |
mexx | 0:b0b154bd08c7 | 14 | _ledbus = 0; |
mexx | 0:b0b154bd08c7 | 15 | } |
mexx | 0:b0b154bd08c7 | 16 | |
mexx | 0:b0b154bd08c7 | 17 | void lauflicht(void); |
mexx | 0:b0b154bd08c7 | 18 | |
mexx | 0:b0b154bd08c7 | 19 | void lauflichtbalken(void); |
mexx | 0:b0b154bd08c7 | 20 | |
mexx | 0:b0b154bd08c7 | 21 | }; |
mexx | 0:b0b154bd08c7 | 22 | |
mexx | 0:b0b154bd08c7 | 23 | |
mexx | 0:b0b154bd08c7 | 24 | #endif |