Hey guys, I'm setting up an LED Matrix using a Maxim 7219, simple enough. It is all rigged up correctly, i just can not get the code to compile in the IDE. Using the following code :
#include <Matrix.h>
Matrix myMatrix = Matrix(10, 9, 8);
void setup()
{
}
void loop()
{
myMatrix.clear(); // clear display
delay(1000);
// turn some pixels on
myMatrix.write(1, 5, HIGH);
myMatrix.write(2, 2, HIGH);
myMatrix.write(2, 6, HIGH);
myMatrix.write(3, 6, HIGH);
myMatrix.write(4, 6, HIGH);
myMatrix.write(5, 2, HIGH);
myMatrix.write(5, 6, HIGH);
myMatrix.write(6, 5, HIGH);
delay(1000);
}
I get the following Errors:
Applications/arduino-0007/lib/targets/libraries/Matrix/Matrix.o: In function `Matrix::write(unsigned char, unsigned char, Sprite)':
/Applications/arduino-0007/lib/targets/libraries/Matrix/Matrix.cpp:206: undefined reference to `Sprite::read(unsigned char, unsigned char) const'
/Applications/arduino-0007/lib/targets/libraries/Matrix/Matrix.cpp:205: undefined reference to `Sprite::width() const'
/Applications/arduino-0007/lib/targets/libraries/Matrix/Matrix.cpp:204: undefined reference to `Sprite::height() const'
Couldn't determine program size: tools/avr/bin/avr-size: '/tmp/build16213.tmp/hello_matrix.hex': No such file
I have no idea what that means. Can anyone help?