Experimental project to drive a TFT LCD with an AVR MCU and avr-libc
| nbproject | 2 years ago | ||
| .gitignore | 2 years ago | ||
| CODE_OF_CONDUCT.md | 2 years ago | ||
| LICENSE | 2 years ago | ||
| Makefile | 2 years ago | ||
| README.md | 2 years ago | ||
| avrtft.c | 2 years ago | ||
| bitmaps.c | 2 years ago | ||
| bitmaps.h | 2 years ago | ||
| cmd.c | 2 years ago | ||
| cmd.h | 2 years ago | ||
| dejavu.c | 2 years ago | ||
| dejavu.h | 2 years ago | ||
| display.c | 2 years ago | ||
| display.h | 2 years ago | ||
| font.c | 2 years ago | ||
| font.h | 2 years ago | ||
| hack.c | 2 years ago | ||
| hack.h | 2 years ago | ||
| pins.h | 2 years ago | ||
| spi.c | 2 years ago | ||
| spi.h | 2 years ago | ||
| tft.c | 2 years ago | ||
| tft.h | 2 years ago | ||
| types.h | 2 years ago | ||
| usart.c | 2 years ago | ||
| usart.h | 2 years ago | ||
| utils.h | 2 years ago | ||
Simple project to drive a TFT LCD like the
Adafruit 1.8" Color TFT LCD 160x128 ST7735R
with an AVR MCU (ATmega328P) and avr-libc.
Currently implemented:
Ideas:
Write pictures via USART (probably too slow)
Read pictures from SD Card
Connect to the controller with for example GTKTerm (9600 Baud).
Write some text and a bitmap:
c 0xffff // clear displayt 0 0 h Just some text // write text in Hack to row 0 column 0b 0 112 // write bitmap with index 0 ('blush' emoji) to row 0 column 224d // display the demo