sample code for workshop

Dependencies:   mbed

Revision:
0:7904b1de1f1f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Apr 10 09:04:08 2015 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+
+BusOut  leds( LED4, LED3, LED2, LED1 );
+
+int main() {
+    int     count   = 0;
+    
+    while(1) {
+        leds    = count++;
+        wait( 0.1 );
+    }
+}