sparkfun / ColorLCDShield

This is an Arduino library for SparkFun's Color LCD Shield
http://www.sparkfun.com/products/9363
40 stars 66 forks source link

SD.h #12

Closed Kazlac closed 11 years ago

Kazlac commented 11 years ago

Hello,

I have the sparkfun color LCD shield and was about to start writing my program when I came across an issue.

It seems that when you have SD.h and ColorLCDShield.h I get an error compiling error.

using:

Arduino Uno Arduino IDE 1.0.5

UPDATE:

Seems that you get a compilation error if #include ColorLCDShield.h is before #include SD.h. but when I put SD before ColorLCD it worked just fine.... weird...

jimblom commented 11 years ago

Looks like there was a naming conflict in both libraries with "SCK_PIN". The new commit today makes that pin name, and those of the rest of the SPI pins more unique..."LCD_PIN_SCK", "LCD_PIN_DIO", etc.