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.

Files at this revision

API Documentation at this revision

Comitter:
DavidEGrayson
Date:
Tue Feb 26 02:08:39 2013 +0000
Parent:
1:ac1550d65296
Child:
3:f566eea13f49
Commit message:
OK, it seems to be using the second argument, which is in R1.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);
     }