Let's Make Robots!



Having got the processing/arduino serial sorted, I thought I'd have a go with charliplexing. I downloaded this library, and wrote a bit of code to try it. However, whenever I try to verify a sketch using it (including the demo sketch), I get this error;no matching function to call to 'Charlieplex::Charlieplex(byte [3], int)'. I've tried re-extracting the library, but with no success. Does anyone have any ideas?

If this library is broken, does anyone know of a better one for charlieplexing?

Thanks in advance.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

It compiles just fine in arduino 023. arduino 1.0.1 has your stated issue with it.

According to http://arduino.cc/forum/index.php?action=printpage;topic=122062.0

To make it compatible with version 1.0+, you need to change the following in Charlieplex.h:

#include <WProgram.h>
#include <Arduino.h>

Thanks, that's worked. Now I've just got to dig a few resistors out (got a reasonable few resistors, but none the right value)