Interfaçage NeoPixel Ring 12, LPRO MECSE, Arnaud A.

Files at this revision

API Documentation at this revision

Comitter:
Rhamao
Date:
Tue Jun 30 23:32:09 2020 +0000
Parent:
3:f486b56187e2
Commit message:
version publique

Changed in this revision

neoPixelRing12.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f486b56187e2 -r 22b0f282731b neoPixelRing12.cpp
--- a/neoPixelRing12.cpp	Tue Jun 23 10:33:03 2020 +0000
+++ b/neoPixelRing12.cpp	Tue Jun 30 23:32:09 2020 +0000
@@ -166,9 +166,9 @@
     }
     else{
         digitalOutPin = 1; 
-        wait_ns(600); 
+        wait_ns(440); 
         digitalOutPin = 0;
-        wait_ns(600);
+        wait_ns(440);
     }
     return true;
 }
@@ -187,7 +187,7 @@
 
 bool NeoPixelRing12::setLights(char RGBmap[12][7]){
     char* buffer; 
-    initLights();
+    //initLights();
     for(int i=0; i<12; i++){      
         buffer=&RGBmap[i][0];
         rgbToDataStructure(buffer);