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:1d67da0805fd, 2014-05-14 (annotated)
- Committer:
- jarming
- Date:
- Wed May 14 10:34:11 2014 +0000
- Revision:
- 0:1d67da0805fd
jhgjhgjkgkljgi
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| jarming | 0:1d67da0805fd | 1 | #include"mbed.h" | 
| jarming | 0:1d67da0805fd | 2 | #include"Gcode.h" | 
| jarming | 0:1d67da0805fd | 3 | Serial stream(USBTX, USBRX); | 
| jarming | 0:1d67da0805fd | 4 | DigitalOut myled(LED1); | 
| jarming | 0:1d67da0805fd | 5 | |
| jarming | 0:1d67da0805fd | 6 | int main() { | 
| jarming | 0:1d67da0805fd | 7 | while(1) { | 
| jarming | 0:1d67da0805fd | 8 | stream.printf("hello world!\r\n"); | 
| jarming | 0:1d67da0805fd | 9 | myled = 1; | 
| jarming | 0:1d67da0805fd | 10 | wait(0.2); | 
| jarming | 0:1d67da0805fd | 11 | myled = 0; | 
| jarming | 0:1d67da0805fd | 12 | wait(0.2); | 
| jarming | 0:1d67da0805fd | 13 | } | 
| jarming | 0:1d67da0805fd | 14 | } |