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.
Dependencies: mbed-src Ping SDFileSystem
main/main.cpp@1:ea7307724f1c, 2016-02-28 (annotated)
- Committer:
- lilac0112_1
- Date:
- Sun Feb 28 06:38:03 2016 +0000
- Revision:
- 1:ea7307724f1c
- Parent:
- 0:6c79a352010b
modified ir format
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| lilac0112_1 | 0:6c79a352010b | 1 | #include "mbed.h" |
| lilac0112_1 | 0:6c79a352010b | 2 | #include "extern.h" |
| lilac0112_1 | 0:6c79a352010b | 3 | #include "main.h" |
| lilac0112_1 | 0:6c79a352010b | 4 | |
| lilac0112_1 | 0:6c79a352010b | 5 | int main() { |
| lilac0112_1 | 0:6c79a352010b | 6 | while(1) { |
| lilac0112_1 | 0:6c79a352010b | 7 | |
| lilac0112_1 | 0:6c79a352010b | 8 | #if defined(ULTRA_SONIC) || defined(ULTRA_SONIC_2) |
| lilac0112_1 | 0:6c79a352010b | 9 | Usw_System(); |
| lilac0112_1 | 0:6c79a352010b | 10 | #endif /*(ULTRA_SONIC) || (ULTRA_SONIC_2)*/ |
| lilac0112_1 | 0:6c79a352010b | 11 | |
| lilac0112_1 | 0:6c79a352010b | 12 | #ifdef IR_SENSOR |
| lilac0112_1 | 0:6c79a352010b | 13 | Ir_System(); |
| lilac0112_1 | 0:6c79a352010b | 14 | #endif /*IR_SENSOR*/ |
| lilac0112_1 | 0:6c79a352010b | 15 | } |
| lilac0112_1 | 0:6c79a352010b | 16 | } |