Re: 1.8" TFT shield SD card not working with Arduino Due
Thanks for responding. It looks like this library is not set up for the Due. When I compile I get the following error:
Arduino: 1.5.4 (Windows 7), Board: "Arduino Due (Programming Port)"
In file included from C:\Users\TomR\Documents\Arduino\libraries\SD/utility/Sd2Card.h:26,
C:\Users\TomR\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:23: fatal error: avr/io.h: No such file or directory
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
From some posts on the official Arduino forum it looks like some users are using the dedicated "hard-spi" (high speed) port on the due. I wonder if the timing on the Due doesn't allow a "soft-spi" solution for the SD card? The TFT seems to work fine with the "soft-spi" though.
Please let me know if there's a way to clear up these compiler errors or if you have other ideas. Thanks.