![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
GoToBeeper
main.cpp@0:3cad3e56704d, 2015-04-23 (annotated)
- Committer:
- Alexander400
- Date:
- Thu Apr 23 12:03:18 2015 +0000
- Revision:
- 0:3cad3e56704d
GoToBeeper
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Alexander400 | 0:3cad3e56704d | 1 | #include "mbed.h" |
Alexander400 | 0:3cad3e56704d | 2 | #include "ur_Bertl.h" |
Alexander400 | 0:3cad3e56704d | 3 | |
Alexander400 | 0:3cad3e56704d | 4 | int main() { |
Alexander400 | 0:3cad3e56704d | 5 | |
Alexander400 | 0:3cad3e56704d | 6 | ur_Bertl karel; |
Alexander400 | 0:3cad3e56704d | 7 | |
Alexander400 | 0:3cad3e56704d | 8 | while(!karel.NextToABeeper()){ |
Alexander400 | 0:3cad3e56704d | 9 | karel.Move(); |
Alexander400 | 0:3cad3e56704d | 10 | } |
Alexander400 | 0:3cad3e56704d | 11 | karel.PickBeeper(); |
Alexander400 | 0:3cad3e56704d | 12 | } |