I use an htcc-ab01-v2 (With the previous version, htcc-ab01, the problem was not there).
When I send the RED color, sometimes (1 time in 4 attempts or once in 5 approximately), i get the ORANGE color.
I have similar problems with other colors too.
Can you help me solve the problem?
You can reproduce the error using the RGB example (modified on the 2 lines in bold).
#include “CubeCell_NeoPixel.h”
CubeCell_NeoPixel pixels(1, RGB, NEO_GRB + NEO_KHZ800);
void setup() {
// put your setup code here, to run once:
pinMode(Vext,OUTPUT);
digitalWrite(Vext,LOW); //SET POWER
pixels.begin(); // INITIALIZE NeoPixel strip object (REQUIRED)
pixels.clear(); // Set all pixel colors to ‘off’
}
uint8_t i=255;
void loop() {
// put your main code here, to run repeatedly:
pixels.setPixelColor(0, pixels.Color(i, 0, 0));
pixels.show(); // Send the updated pixel colors to the hardware.
delay(200); // Pause before next pass through loop
pixels.setPixelColor(0, pixels.Color(0, i, 0));
pixels.show(); // Send the updated pixel colors to the hardware.
delay(200); // Pause before next pass through loop
pixels.setPixelColor(0, pixels.Color(0, 0, i));
pixels.show(); // Send the updated pixel colors to the hardware.
delay(200); // Pause before next pass through loop
//i+=10;
}
Many thanks.
Marco