These are chat archives for Makuna/NeoPixelBus

3rd
Jun 2015
sticilface
@sticilface
Jun 03 2015 20:04

right...

I'm going to officially go mental! I've put all my code into one file, and stripped out lots of crap... I have build that flash and builds that don't.. I go back to my main project flash that, and it stops blinking... I comment out 2 lines, that print to serial... and boom it is back to flashing again. Could this be some weird memory thing, i thought it might be the analogue read, took that out but no... I'm stuck...

what would you recommend.. I can send you some binaries, and you can see if they flash.. they flash when you send an MQTT msg, or access the web page, or just in general...

There does not seem to be some consistent line of code, function, or library that is involved..

this is what i removed.. and now it flashes again
   }   else if (start > end) {  // Move direction = left

     for (uint16_t i = end; i < start; i++) {
-    Serial.print("direction = left....");
+    //Serial.print("direction = left....");

       pix_colour = strip->GetPixelColor(i+1);
       strip->SetPixelColor(i, pix_colour);
-      Serial.print(i);
-      Serial.print(" ");
+      //Serial.print(i);
+      //Serial.print(" ");
     }

   }
sticilface
@sticilface
Jun 03 2015 21:29
no idea... here is the scope output... All pixels turned off... i managed to catch it. 1st picture is OK, 2nd picture is when i get a green flash.
sticilface
@sticilface
Jun 03 2015 21:47
these are the functions that I'm using. so nothing out of the ordinary really..

#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <PubSubClient.h>
#include <EEPROM.h>
#include <NeoPixelBus.h>