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
Revision 1:9178a2aee69f, committed 2018-07-30
- Comitter:
- titanium
- Date:
- Mon Jul 30 07:01:15 2018 +0000
- Parent:
- 0:0d95cd35c02a
- Commit message:
- A heading comment is added.
Changed in this revision
| simple_AD_serial.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/simple_AD_serial.cpp Thu May 10 02:25:35 2018 +0000 +++ b/simple_AD_serial.cpp Mon Jul 30 07:01:15 2018 +0000 @@ -1,3 +1,6 @@ +/* simple_AD_serial reads analog voltage on pin-20 +/* and sends to PC in two formats, 16bit int and 32bit float */ + #include "mbed.h" Serial pc(USBTX, USBRX); AnalogIn adin(p20);