M Seiser
/
Bertl_neu_LEd
LED_Programm
main.cpp@0:c4795d964769, 2015-04-16 (annotated)
- Committer:
- mSeiser
- Date:
- Thu Apr 16 11:48:29 2015 +0000
- Revision:
- 0:c4795d964769
LED_BLINKER;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mSeiser | 0:c4795d964769 | 1 | #include "mbed.h" |
mSeiser | 0:c4795d964769 | 2 | #include "ur_Bertl.h" |
mSeiser | 0:c4795d964769 | 3 | #include "If_Task.h" |
mSeiser | 0:c4795d964769 | 4 | #include "const.h" |
mSeiser | 0:c4795d964769 | 5 | |
mSeiser | 0:c4795d964769 | 6 | |
mSeiser | 0:c4795d964769 | 7 | |
mSeiser | 0:c4795d964769 | 8 | |
mSeiser | 0:c4795d964769 | 9 | int main() |
mSeiser | 0:c4795d964769 | 10 | { |
mSeiser | 0:c4795d964769 | 11 | GamePlayer robot; |
mSeiser | 0:c4795d964769 | 12 | |
mSeiser | 0:c4795d964769 | 13 | robot.WaitUntilButtonPressed(); |
mSeiser | 0:c4795d964769 | 14 | robot.CaptureTheBeeper(); |
mSeiser | 0:c4795d964769 | 15 | robot.BlueLedsON(); |
mSeiser | 0:c4795d964769 | 16 | robot.MoveBackwards(); |
mSeiser | 0:c4795d964769 | 17 | robot.BlueLedsOFF(); |
mSeiser | 0:c4795d964769 | 18 | robot.NibbleLeds(0x0A); |
mSeiser | 0:c4795d964769 | 19 | robot.NibbleLeds(0x0F); |
mSeiser | 0:c4795d964769 | 20 | robot.NibbleLeds(0x01); |
mSeiser | 0:c4795d964769 | 21 | robot.ShutOff(); |
mSeiser | 0:c4795d964769 | 22 | }; |