Files
- Not Found
- Invalid object requested. SHA must identify a commit or a tree.
TFT.mdTFT boards
David Prentice's st7735_readreg sketch is useful to identify chipsets in various cheap 1.44" TFT displays.
SPI | TFT | Pin |
---|---|---|
MOSI | SDA | 11 |
SCK | SCK | 13 |
SS | CS | 10 |
DC | AO | 9 |
KMR1441_SPI V2
The backlight LED doesn't seem to be variable with PWM on this board. Set CPPFLAGS to this in the Makefile for this display:
CPPFLAGS = -DVERSION=\"${shell date +%F}\" -DST7735GREENTAB \
-DUSERSETUPLOADED -DST7735DRIVER -DTFTWIDTH=128 -DTFTHEIGHT=128 \
-DTFTCS=PIND6 -DTFTDC=PIND8 \
-DTFTRST=-1 -DSPIFREQUENCY=27000000 -DLOAD_GLCD
Bi-directional Read registers
controller reg(0x01) = 0x00 ST7735S reg(0x04) = 0x7C89F0 ST7735S reg(0x09) = 0x610000 ST7735S reg(0x0A) = 0x08 ST7735S reg(0x0B) = 0x00 ST7735S reg(0x0C) = 0x06 ST7735S reg(0x0D) = 0x00 ST7735S reg(0x0E) = 0x00 ST7735S reg(0x0F) = 0x00 ST7735S reg(0x2E) = 0x102008 ST7735S reg(0xDA) = 0x7C ST7735S reg(0xDB) = 0x89 ST7735S reg(0xDC) = 0xF0