void Adafruit_NeoPixel::begin(void) {
if(pin == 33){
DDRE |= (1 << PE2);
PORTE |= (1 << PE2); // i think this sets the pin HIGH, it should be set LOW
begun = true;
return;
}
if(pin >= 0) {
pinMode(pin, OUTPUT);
digitalWrite(pin, LOW);
}
begun = true;
}
That is one thing. Then there is the issue of the pinMask. I would try it like this as well
pinMask = 1 << PE2; // non-inverted.
OK it's trial and error, but i think it should work at some point. Are you using a 16MHz clock ?