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.
Revision 0:455e8a85d3eb, committed 2013-06-24
- Comitter:
- avnisha
- Date:
- Mon Jun 24 05:49:35 2013 +0000
- Commit message:
- usb
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 455e8a85d3eb main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Jun 24 05:49:35 2013 +0000 @@ -0,0 +1,13 @@ + +#include "mbed.h" + +DigitalIn button(p21); +AnalogIn pot(p20); + +int main() { + while(pot > 0.0) { + printf("Pot value = %f", pot.read()); + wait(0.1); + } + error("Loop unexpectedly terminated"); +} \ No newline at end of file
diff -r 000000000000 -r 455e8a85d3eb mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Jun 24 05:49:35 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/7e6c9f46b3bd \ No newline at end of file