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 0:e155bea1b5b0, committed 2018-07-30
- Comitter:
- Yeshwanth16
- Date:
- Mon Jul 30 05:15:33 2018 +0000
- Commit message:
- yo
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r e155bea1b5b0 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Jul 30 05:15:33 2018 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +AnalogIn A(p20); +Serial pc(USBTX,USBRX); + +int main(){ + while(1){ + float val=A; + pc.printf("%.2f",val); + wait(0.5); + } + } + \ No newline at end of file
diff -r 000000000000 -r e155bea1b5b0 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Jul 30 05:15:33 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/a7c7b631e539 \ No newline at end of file