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:9146d1e52be0, 2018-03-06 (annotated)
- Committer:
- summers
- Date:
- Tue Mar 06 12:33:06 2018 +0000
- Revision:
- 0:9146d1e52be0
- Child:
- 1:3295382ddc81
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
summers | 0:9146d1e52be0 | 1 | #include "mbed.h" |
summers | 0:9146d1e52be0 | 2 | |
summers | 0:9146d1e52be0 | 3 | Serial pc(USBTX, USBRX); // tx, rx |
summers | 0:9146d1e52be0 | 4 | |
summers | 0:9146d1e52be0 | 5 | int main() |
summers | 0:9146d1e52be0 | 6 | { |
summers | 0:9146d1e52be0 | 7 | pc.printf("Hello World!\n"); |
summers | 0:9146d1e52be0 | 8 | while(1); |
summers | 0:9146d1e52be0 | 9 | } |