TwoLeds
TINF_Bsp1_TwoLeds.cpp@0:123f959287de, 2018-06-20 (annotated)
- Committer:
- franzpaulus
- Date:
- Wed Jun 20 16:02:56 2018 +0000
- Revision:
- 0:123f959287de
Franz TwoLeds
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
franzpaulus | 0:123f959287de | 1 | #include "mbed.h" // Beispiel 1 |
franzpaulus | 0:123f959287de | 2 | #include "TINF_Bsp1_TwoLeds.h" |
franzpaulus | 0:123f959287de | 3 | |
franzpaulus | 0:123f959287de | 4 | |
franzpaulus | 0:123f959287de | 5 | void TwoLeds::printStatus(void){ |
franzpaulus | 0:123f959287de | 6 | printf("Blink! LED1 is now %d\n", _pin1.read()); |
franzpaulus | 0:123f959287de | 7 | printf("Blink! LED2 is now %d\n\n", _pin2.read()); |
franzpaulus | 0:123f959287de | 8 | } |