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
main.cpp@0:2fc8a427dbcf, 2016-10-25 (annotated)
- Committer:
- tamashy
- Date:
- Tue Oct 25 19:22:38 2016 +0000
- Revision:
- 0:2fc8a427dbcf
Skeleton Code
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| tamashy | 0:2fc8a427dbcf | 1 | #include "mbed.h" |
| tamashy | 0:2fc8a427dbcf | 2 | #include "DumpTruck.h" |
| tamashy | 0:2fc8a427dbcf | 3 | DigitalOut myled(LED1); |
| tamashy | 0:2fc8a427dbcf | 4 | |
| tamashy | 0:2fc8a427dbcf | 5 | int main() { |
| tamashy | 0:2fc8a427dbcf | 6 | DumpTruck foo(1); |
| tamashy | 0:2fc8a427dbcf | 7 | foo.drive(); |
| tamashy | 0:2fc8a427dbcf | 8 | } |
| tamashy | 0:2fc8a427dbcf | 9 |