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:db1a6594b5e5, committed 2015-12-27
- Comitter:
- kohacraft
- Date:
- Sun Dec 27 00:47:22 2015 +0000
- Commit message:
- ver1.0;
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 db1a6594b5e5 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Sun Dec 27 00:47:22 2015 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+
+PwmOut myled(dp18);
+
+int main() {
+ while(1) {
+ for( float i = 0.0 ; i <= 1.0 ; i = i + 0.01 )
+ {
+ myled = i;
+ wait(0.02);
+ }
+
+ }
+}
diff -r 000000000000 -r db1a6594b5e5 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sun Dec 27 00:47:22 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/4336505e4b1c \ No newline at end of file