Hey, I'm having a problem with the preinstalled SPI library, anyone willing to help someone who's not that good at programming? I run the digitalPotcontrol.ino and .pde files in the IDE (1.0), and I get these errors:
DigitalPotControl:105: error: redefinition of 'const int slaveSelectPin'
DigitalPotControl:34: error: 'const int slaveSelectPin' previously defined here
DigitalPotControl.cpp: In function 'void setup()':
DigitalPotControl:107: error: redefinition of 'void setup()'
DigitalPotControl:36: error: 'void setup()' previously defined here
DigitalPotControl.cpp: In function 'void loop()':
DigitalPotControl:114: error: redefinition of 'void loop()'
DigitalPotControl:43: error: 'void loop()' previously defined here
DigitalPotControl.cpp: In function 'int digitalPotWrite(int, int)':
DigitalPotControl:133: error: redefinition of 'int digitalPotWrite(int, int)'
DigitalPotControl:62: error: 'int digitalPotWrite(int, int)' previously defined here
Thanks to any and all that can help, and God bless. Andrew Clark