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@1:a64f244ecf78, 2015-04-16 (annotated)
- Committer:
- matthiasdorudi
- Date:
- Thu Apr 16 12:51:01 2015 +0000
- Revision:
- 1:a64f244ecf78
- Parent:
- 0:42f81496681a
if task
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| matthiasdorudi | 0:42f81496681a | 1 | #include "ur_Bertl.h" |
| matthiasdorudi | 0:42f81496681a | 2 | #include "const.h" |
| matthiasdorudi | 0:42f81496681a | 3 | #include "mbed.h" |
| matthiasdorudi | 0:42f81496681a | 4 | #include "Bertl_Predikatbefehl_LIB.h" |
| matthiasdorudi | 0:42f81496681a | 5 | |
| matthiasdorudi | 0:42f81496681a | 6 | int main(){ |
| matthiasdorudi | 0:42f81496681a | 7 | Bertl_Predikatbefehl_LIB Tom; //Benennen |
| matthiasdorudi | 0:42f81496681a | 8 | |
| matthiasdorudi | 1:a64f244ecf78 | 9 | Tom.Move(); |
| matthiasdorudi | 1:a64f244ecf78 | 10 | |
| matthiasdorudi | 1:a64f244ecf78 | 11 | if (Tom.LeftIsBlocked()){ |
| matthiasdorudi | 1:a64f244ecf78 | 12 | Tom.Move(); |
| matthiasdorudi | 1:a64f244ecf78 | 13 | } |
| matthiasdorudi | 1:a64f244ecf78 | 14 | else |
| matthiasdorudi | 1:a64f244ecf78 | 15 | Tom.ShutOff(); |
| matthiasdorudi | 1:a64f244ecf78 | 16 | |
| matthiasdorudi | 0:42f81496681a | 17 | } |