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:a403d03c7941, 2015-09-17 (annotated)
- Committer:
- sillevl
- Date:
- Thu Sep 17 08:03:03 2015 +0000
- Revision:
- 0:a403d03c7941
initial project
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| sillevl | 0:a403d03c7941 | 1 | |
| sillevl | 0:a403d03c7941 | 2 | #include "mbed.h" |
| sillevl | 0:a403d03c7941 | 3 | |
| sillevl | 0:a403d03c7941 | 4 | Serial pc(USBTX, USBRX); |
| sillevl | 0:a403d03c7941 | 5 | |
| sillevl | 0:a403d03c7941 | 6 | int main() |
| sillevl | 0:a403d03c7941 | 7 | { |
| sillevl | 0:a403d03c7941 | 8 | pc.baud(115200); |
| sillevl | 0:a403d03c7941 | 9 | |
| sillevl | 0:a403d03c7941 | 10 | while(1){ |
| sillevl | 0:a403d03c7941 | 11 | pc.putc(pc.getc()); |
| sillevl | 0:a403d03c7941 | 12 | } |
| sillevl | 0:a403d03c7941 | 13 | } |