Robert Buch / Mbed 2 deprecated compile

Dependencies:   mbed

Revision:
3:380bc168e247
Parent:
2:db4c700f1898
Child:
4:179695a6d7fd
diff -r db4c700f1898 -r 380bc168e247 test.cpp
--- a/test.cpp	Mon Jan 13 17:30:18 2020 +0000
+++ b/test.cpp	Mon Jan 13 17:32:06 2020 +0000
@@ -27,10 +27,14 @@
     wait(0.1); 
 }
 
-
 void printb(uint8_t x)
 {
     for(int i=sizeof(x)<<3;i;i--)
     putchar('0'+((x>>(i-1))&1));
     printf("\n");
 }    
+
+void nibbleLeds(int value)
+{
+    myleds=value%16;
+}
\ No newline at end of file