Controlling an 8x8 colorduino LED matrix

We have an ITEAD Colorshield connected to the Arduino UNO which is connected to an 8x8 RGB matrix. I am having trouble figuring out how to light up individual leds on our matrix using the colorduino library. Any assistance would be much appreciated.

Thank you so much everyone <3

using the colorduino library.

For which you failed to provide a link. Or any code. Or any description of the trouble you are having. Or, any description of what you have been able to do.

First of all Run some Examples which would most probably will be there when you installed the colorduino library RUN a example to see whether it all works to see will the code that's loaded on arduino runs and shows the matrix working as it should this will clear one thing if this test passes that it works. Then we will lookonto lighting up individual LED's etc stuff.

Hi,

Thank you for all your replies. For clarification the colorduino library we are using is this one here https://github.com/lincomatic/Colorduino . We have had the included plasma example running and we would like to know how to control the individual LEDs on our 8x8 led matrix.

We have had the included plasma example running and we would like to know how to control the individual LEDs on our 8x8 led matrix.

The key line in the plasma example is this one:

        Colorduino.SetPixel(x, y, colorRGB.r, colorRGB.g, colorRGB.b);

The x and y arguments should be pretty obvious. The r, g, and b arguments should be pretty clear.

What part isn't clear?

Thank you for your kind reply,

We are complete beginners to both the Arduino and to C++ programming. We are trying to control our lights using the library for our school project but we cannot figure out how to do this due to the lack of knowledge of C++ syntax. Can you take us through what you would do to control an individual light from scratch using this library. That would be such a great help.

Many Thanks

Craig and Sandy :slight_smile:

Can you take us through what you would do to control an individual light from scratch using this library.

#include <Colorduino.h>
void setup()
{
  Colorduino.Init();
  Colorduino.SetPixel(3, 5, 20, 20, 200); // set the pixel at 3, 5 to have a bluish color
  Colorduino.FlipPage(); // swap screen buffers to show it
}

void loop()
{
}

I don’t have a colorduino, so I can’t test this, but it looks reasonable, given the functions available in the library.