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:478eeb04f8ec, committed 2019-02-15
- Comitter:
- bnagata
- Date:
- Fri Feb 15 23:03:25 2019 +0000
- Commit message:
- read microphone
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 478eeb04f8ec main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Feb 15 23:03:25 2019 +0000 @@ -0,0 +1,14 @@ +#include "mbed.h" + +int main() +{ + AnalogIn sensor(A6); + FILE *outputfile; + outputfile = fopen("NODEcode.txt","w"); + while(1){ + float value= sensor.read(); + wait_ms(5); + fprintf(outputfile,"%f ",&value); + + } +}
diff -r 000000000000 -r 478eeb04f8ec mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Feb 15 23:03:25 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/3a7713b1edbc \ No newline at end of file