Anyone tryied the Charlieplexing library with IDE 1.0.1?
Example code doesn't compile either. I am trying to maximize the amount of LED's i can use with the few pins i have left on my Uno so i wanted to play a bit before i tryed to code in into my sketch. No Charlie for me....
Any idea's what i could do to make it work with the new IDE? i am fair at best with C++ and have no idea the basis of the error. Have look in Charlieplex.h and Charlieplex.cpp and i'm lost as to what i can do.
error is " no match function for call to 'Charlieplex::Charlieplex(byte [3],int)' "
My sketch is just the example plus a few more combinations.
#include <Charlieplex.h>
#define NUMBER_OF_PINS 3
byte pins[] = {2,4,7};
Charlieplex charlieplex = Charlieplex(pins, NUMBER_OF_PINS);
charliePin led1 = {0,2);
charliePin led2 = {2,0};
charliePin led3 = {0,1};
charliePin led4 = {1,0};
charliePin led5 = {1,2};
charliePin led6 = {2,1};
boolean singleOn = false;
void setup(){ }
void loop(){
if (singleOn) charlieplex.clear();
charlieplex.charlieWrite(led1,HIGH);
delay(1000);
charlieplex.charlieWrite(led2,HIGH);
delay(1000);
charlieplex.charlieWrite(led3,HIGH);
delay(1000);
charlieplex.charlieWrite(led4,HIGH);
delay(1000);
charlieplex.charlieWrite(led5,HIGH);
delay(1000);
charlieplex.charlieWrite(led6,HIGH);
delay(1000);
singleOn=!singleOn;
}