2Leds
Dependencies: mbed
Led_Bertl.cpp@1:8dbdcd41a812, 2015-03-26 (annotated)
- Committer:
- mpickl
- Date:
- Thu Mar 26 12:35:29 2015 +0000
- Revision:
- 1:8dbdcd41a812
de_Bertl
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mpickl | 1:8dbdcd41a812 | 1 | #include "mbed.h" |
mpickl | 1:8dbdcd41a812 | 2 | #include "ur_Bertl.h" |
mpickl | 1:8dbdcd41a812 | 3 | #include "de_Bertl.h" |
mpickl | 1:8dbdcd41a812 | 4 | #include "Led_Bertl.h" |
mpickl | 1:8dbdcd41a812 | 5 | |
mpickl | 1:8dbdcd41a812 | 6 | void Led_Bertl :: Turn2LedsOn() |
mpickl | 1:8dbdcd41a812 | 7 | { |
mpickl | 1:8dbdcd41a812 | 8 | TurnLedOn(LED_FL1 | LED_FR1); // OR-Verknüpfung |
mpickl | 1:8dbdcd41a812 | 9 | // 0000 0001 |
mpickl | 1:8dbdcd41a812 | 10 | // 0000 0100 OR |
mpickl | 1:8dbdcd41a812 | 11 | // 0000 0101 5 oder 0x5 |
mpickl | 1:8dbdcd41a812 | 12 | } |
mpickl | 1:8dbdcd41a812 | 13 |