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:a3cd7b0ad851, committed 2015-12-17
- Comitter:
- jan_kornberger
- Date:
- Thu Dec 17 15:51:47 2015 +0000
- Commit message:
- l
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 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Dec 17 15:51:47 2015 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" +PwmOut g(p5); +PwmOut b(p34); +PwmOut r(p36); +AnalogIn poti(p15); + + +int main() { + r.period(0.001); + while(1) { + g=poti.read(); + b=1; + r=1; + wait (0.01); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Dec 17 15:51:47 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/4336505e4b1c \ No newline at end of file