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:f92cc048fef2, committed 2016-01-21
- Comitter:
- PosztosAlex
- Date:
- Thu Jan 21 15:19:43 2016 +0000
- Commit message:
Changed in this revision
diff -r 000000000000 -r f92cc048fef2 LM75B.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LM75B.lib Thu Jan 21 15:19:43 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/neilt6/code/LM75B/#7ac462ba84ac
diff -r 000000000000 -r f92cc048fef2 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu Jan 21 15:19:43 2016 +0000
@@ -0,0 +1,30 @@
+#include "mbed.h"
+
+
+BusOut Led(P1_8,P1_9,P1_10,P1_11,P1_0,P1_1,P1_3,P1_4,P1_6,P1_7,P1_12,P1_13);
+int main()
+{
+ while(1)
+ {
+ Led = 0;
+ wait_ms(100);
+
+ for (char j = 0b0000;j<0b1100;j++)
+ {
+ Led = 0b1<<j | Led ;
+
+ wait_ms(80);
+ }
+ for (char j = 0b0;j<0b1100;j++)
+ {
+ Led = Led & 0b1111111111111 >> j ;
+ wait_ms(80);
+ }
+ for (char j = 0b0;j<0b1010;j++)
+ { Led = Led & 0b0;
+ wait(0.07);
+ Led = 0b111111111111;
+ wait(0.25);
+
+ }}
+ }
diff -r 000000000000 -r f92cc048fef2 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Jan 21 15:19:43 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/165afa46840b \ No newline at end of file