This is an example program for the PololuLedStrip library. It generates a simple moving gradient pattern.

Dependencies:   PololuLedStrip mbed LedStripGradient

Dependents:   LedStripGradient led_phare_crf

For more information, see the PololuLedStrip library.

Revision:
2:bd6fe6d2948d
Parent:
1:ac1550d65296
Child:
3:f566eea13f49
--- a/main.cpp	Tue Feb 26 02:04:07 2013 +0000
+++ b/main.cpp	Tue Feb 26 02:08:39 2013 +0000
@@ -109,9 +109,9 @@
 
     while(1) {
         myled2 = 1;
-        my_asm(1, 1);
+        my_asm(0, 1);
         wait(0.2);
-        my_asm(0, 0);
+        my_asm(1, 0);
         myled2 = 0;
         wait(1);
     }