Pages: [1]   Go Down
Author Topic: SPI Library Issues (URGENT PLEASE)  (Read 456 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 34
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: October 10, 2010, 03:11:34 pm by harjizzle » Logged

Melbourne, Australia
Offline Offline
Full Member
***
Karma: 1
Posts: 226
Cyborg-in-progress
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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/
Logged

Pages: [1]   Go Up
Jump to: