Neopixel Brick

Dependencies:   NeoPixel mbed

Revision:
2:08c13f9a3d5c
Parent:
1:e9d1c42a73ae
Child:
4:1f676d6961e8
--- a/main.cpp	Fri Feb 28 06:52:34 2014 +0000
+++ b/main.cpp	Fri Nov 18 08:25:14 2016 +0000
@@ -6,16 +6,16 @@
 //------------------------------------
 
 Serial pc(SERIAL_TX, SERIAL_RX);
- 
+
 DigitalOut myled(LED1);
- 
-int main() {
-  int i = 1;
-  pc.printf("Hello World !\n");
-  while(1) { 
-      wait(1);
-      pc.printf("This program runs since %d seconds.\n", i++);
-      myled = !myled;
-  }
+
+int main()
+{
+    int i = 1;
+    pc.printf("Hello World !\n");
+    while(1) {
+        wait(1);
+        pc.printf("This program runs since %d seconds.\n", i++);
+        myled = !myled;
+    }
 }
- 
\ No newline at end of file