adafruit/Adafruit-ST7735-Library — Issue #6: spitftbitmap is backwards
Author: wa5znu
Created: 2012-02-24 03:46:01+00:00
State: open

Here's a picture from the tutorial of the parrot: http://www.ladyada.net/images/18tftbreakout/18tftlcdparrot_LRG.jpg
Here's the parrot.bmp file itself: file:///home/klotz/parrot.bmp
Notice that the parrot faces left in the bmp and right on the TFT.

The example code has this:

// tft.setRotation()

// tft.drawPixel(i, j, p)
tft.pushColor(p);

If you use drawPixel, it comes out 90 degrees off. If you do
tft.setRotation(3)
first AND use tft.drawPixel then it comes out matching the BMP. It's just terribly slow.

The code comment says
// bitmaps are stored with the BOTTOM line first so we have to move 'up'

It seems like there's some other issue as well.

Any ideas how to get BMPs to come out right, or should we just reverse them on the SD card?
If so, the tutorial should say to do that.