I’m recently making a project that requires both UTFT library and SD library. And it seems they can’t work together. The sketch would compile and upload,but arduino would act as expected. In fact, it seem that Arduino never get to setup(). The led blinks though at about 1Hz.
After much searching, i believe it’s an incompatible issue between software SPI used by UTFT (find here: http://electronics.henningkarlsen.com ) and SD library. Don’t know why it happens,but the issue is mentioned in Arduino’s official TFT board introduction. (find here:http://arduino.cc/en/Guide/TFT) in chapter software SPI vs hardware SPI.
Is this a bug? Why does this happen? I’m currently working to modify the UTFT library to use hardware SPI. Is there a easier or standard way to do this?
Plz help, thanks in advance.