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.
usb.cpp@0:ed169b9ebb06, 2014-10-18 (annotated)
- Committer:
- ststanko
- Date:
- Sat Oct 18 03:57:42 2014 +0000
- Revision:
- 0:ed169b9ebb06
PPM output v1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ststanko | 0:ed169b9ebb06 | 1 | #include "mbed.h" |
ststanko | 0:ed169b9ebb06 | 2 | #include "usb.h" |
ststanko | 0:ed169b9ebb06 | 3 | |
ststanko | 0:ed169b9ebb06 | 4 | Serial pc(SERIAL_TX, SERIAL_RX); |
ststanko | 0:ed169b9ebb06 | 5 | |
ststanko | 0:ed169b9ebb06 | 6 | void usb_write(char * text) { |
ststanko | 0:ed169b9ebb06 | 7 | pc.printf(text); |
ststanko | 0:ed169b9ebb06 | 8 | } |