Files
TweinStein/ST7735R/BmpConvert16Readme.txt

19 lines
691 B
Plaintext
Raw Permalink Normal View History

2026-06-12 02:55:04 -07:00
To create a 16-bit image for ST7735 displays on LM4F120 or TM4C123G
Jonathan Valvano, 7/18/2013
See BmpConvert.cpp for how it works
1) Create a bmp file
width less than or equal to 128 pixels
height less than or equal 160 pixels
save the image as a 24-bit bmp file
store in same directory as BmpConvert16.exe
2) Execute BmpConvert16.exe
Type the image name
E.g., if the file is horse.bmp, then type horse
3) Open the corresponding txt file, select all, copy
4) Open uVision compiler
paste new image as a data constant
5) Draw the image by calling ST7735_DrawBitmap
E.g., center a 120x160 image
ST7735_DrawBitmap(4, 159, Horse, 120, 160);