Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp@0:4a495b04cc0f, 2015-04-17 (annotated)
- Committer:
- matthiasdorudi
- Date:
- Fri Apr 17 08:40:59 2015 +0000
- Revision:
- 0:4a495b04cc0f
IF_Task3
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
matthiasdorudi | 0:4a495b04cc0f | 1 | #include "ur_Bertl.h" |
matthiasdorudi | 0:4a495b04cc0f | 2 | #include "const.h" |
matthiasdorudi | 0:4a495b04cc0f | 3 | #include "mbed.h" |
matthiasdorudi | 0:4a495b04cc0f | 4 | #include "Bertl_Task3.h" |
matthiasdorudi | 0:4a495b04cc0f | 5 | |
matthiasdorudi | 0:4a495b04cc0f | 6 | int main(){ |
matthiasdorudi | 0:4a495b04cc0f | 7 | Bertl_Task3 Tom; //Benennen |
matthiasdorudi | 0:4a495b04cc0f | 8 | |
matthiasdorudi | 0:4a495b04cc0f | 9 | Tom.Move(); |
matthiasdorudi | 0:4a495b04cc0f | 10 | |
matthiasdorudi | 0:4a495b04cc0f | 11 | if (Tom.RightIsClear()){ |
matthiasdorudi | 0:4a495b04cc0f | 12 | Tom.Move(); |
matthiasdorudi | 0:4a495b04cc0f | 13 | } |
matthiasdorudi | 0:4a495b04cc0f | 14 | else |
matthiasdorudi | 0:4a495b04cc0f | 15 | Tom.ShutOff(); |
matthiasdorudi | 0:4a495b04cc0f | 16 | |
matthiasdorudi | 0:4a495b04cc0f | 17 | } |