Quantcast
Channel: Seeedstudio Forum
Viewing all articles
Browse latest Browse all 6612

Flickering problems with Rainbow Cube (Rainbowduino V3)

$
0
0
I'm experiencing some flickering problems with the Rainbow Cube. When I upload the simple sketch at the bottom of this post,
as an example, the corner leds light up as they should, but there is also some flickering of some of the neighbouring leds.
This seems to happen when RGB components have values somewhere between 0 and 255.

Any idea what is causing this?

Best regards,
Marius

--------------------------------------------------------------

#include <Rainbowduino.h>

const unsigned long FRAME_DELAY_IN_MILLISECONDS = 50L;

void setup()
{
Rb.init();
Rb.blankDisplay();
}

void loop() {
draw();
delay(FRAME_DELAY_IN_MILLISECONDS);
}

void draw() {
Rb.setPixelZXY(0, 0, 0, 50, 50, 50);
Rb.setPixelZXY(0, 0, 3, 50, 50, 50);
Rb.setPixelZXY(0, 3, 0, 50, 50, 50);
Rb.setPixelZXY(3, 0, 0, 50, 50, 50);
Rb.setPixelZXY(3, 3, 0, 50, 50, 50);
Rb.setPixelZXY(0, 3, 3, 50, 50, 50);
Rb.setPixelZXY(3, 0, 3, 50, 50, 50);
Rb.setPixelZXY(3, 3, 3, 50, 50, 50);
}

Statistics : Posted by marius7 • on Sat May 10, 2014 4:08 am • Replies 0 • Views 64

Viewing all articles
Browse latest Browse all 6612

Trending Articles