Exo

Dependencies:   IHM mbed

Revision:
0:11d58ceaff35
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue May 29 14:13:06 2018 +0000
@@ -0,0 +1,20 @@
+#include "Nboard.h"
+#include "IHM.h"
+IHM ihm;
+
+int main()
+{
+short n=1, b=1;
+    while(1) {
+        ihm.BAR_set(n);
+        wait(0.1);
+        n=n<<1;
+        b++;
+        if(b>10) {
+            wait(0.1);
+            n=n>>10;
+            b=1;
+        }
+    }
+
+}