I am working through the Touch Shield examples and for the life of me, I can’t get the bitmap example to show anything except a black screen. I have tried reformatting the card, creating new bitmap files, and nothing changes. What should I be looking to do next?
Mine did not work either:
On serial monitor during startup, it says
SD OK! MB_UNGER.BMP FISH-PCB.BMP FISH-P~1.BMP get 3 file: MB_UNGER.BMP FISH-PCB.BMP FISH-P~1.BMP size 0x4B08A offset 138 header size 124 bad bmp size 0x4B08A offset 138 header size 124 bad bmp size 0x4B08A offset 138 header size 124 bad bmp
It says all that a few times and then loops with:
didnt find image
I tried making a couple different bmp’s with gimp. Thanks for any help.
May I know what is the size of the image you uploaded?
Thanks and Regards
Hi Kavi and thanks for writing.
I am using 320x240 BMP’s. I gather they are supposed to be ‘24 bit’ but cannot find anything in GIMP to export it that way.
If anyone can share a ‘known good’ image, I’d be happy to try it. (SFW please!)
Can you please run the example program “tftbmp”.
The images for the example are available in the following link copy them in the SD card and program it.
Let us know if it works.
Thanks and Regards
Got it working thanks.
I had the pics oriented wrong.
I’m so new at this that I have no idea what I’m doing. Anyone out there that can help me? I get errors on just about everything I do on the arduino. I have the correct port, I have the Uno picked and still don’t get anything to work other than the stock stuff.
Arduino: 1.6.8 (Windows 7), Board: “Arduino/Genuino Uno”
Build options changed, rebuilding all
C:\Users\DANIEL~1\AppData\Local\Temp\arduino_modified_sketch_593538\sketch_mar20a.ino:15:19: fatal error: TFTv2.h: No such file or directory
exit status 1
Error compiling for board Arduino/Genuino Uno.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
It looks like your Arduino IDE and TFT library is not properly installed. Could you please make a fresh installation of Arduino IDE. Then, install the TFT library properly.
Thanks and Warm Regards.