Go Down

Topic: SPI Library Issues (URGENT PLEASE) (Read 504 times) previous topic - next topic

Harjit Singh

Oct 10, 2010, 10:10 pm Last Edit: Oct 10, 2010, 10:11 pm by harjizzle Reason: 1
I'm trying to get the SPI Digital POT example to work:
http://www.arduino.cc/en/Tutorial/SPIDigitalPot

The SPI file they reference to appears to be totallly different than the one on Arduino playground:
http://www.arduino.cc/playground/Code/Spi

When I try to use it in the code, the letters being case sensitive are different "SPI.h" versus "Spi.h" and the "Spi.h" to start things off. I fixed that by renaming the "SPI" to "Spi" in the code, but, now it says the Spi.h does not have the ".begin" function...

Is there some other version out there that I need? (I do have it in the right folder, as Sketch -> Import LIbrary shows the "Spi" as well.

Jonathan Oxer

What version of the Arduino IDE are you using? There were changes in libraries related to Ethernet / SPI over the last couple of releases, so it's important to state what you're actually using.
--
Jon
Arduino Shield List: http://shieldlist.org/

Go Up