8 Commits
Author SHA1 Message Date
Tyeth Gundry 54ad6b159d Merge pull request #62 from tyeth/bump-version-1.0.4
Update version to 1.0.4
2026-08-18 16:38:23 +01:00
Adabot d31c7e1dc0 Bump version to 1.0.4 2026-08-18 16:37:17 +01:00
Limor "Ladyada" Fried 6690f613c9 Fix product links in README.md
Updated product links in README.md for accuracy.
2026-08-04 11:25:34 -04:00
Limor "Ladyada" Fried 747a389fe5 Merge pull request #61 from adafruit/ladyada-patch-1
Revise README for TFT LCD library details
2026-08-04 11:24:29 -04:00
Limor "Ladyada" Fried 3ba0b31ddf Revise README for TFT LCD library details
Updated library description to specify support for 8-bit and 16-bit parallel TFT displays and clarified board compatibility.
2026-08-03 19:59:48 -04:00
Melissa LeBlanc-Williams 2f917ad72b bumped version for release 2020-07-27 16:14:06 -07:00
Melissa LeBlanc-Williams aad1e5e77a Merge pull request #48 from makermelissa/master
Fix warnings and chip detection
2020-07-27 16:08:49 -07:00
Melissa LeBlanc-Williams ebc64f235b Fix warnings and chip detection 2020-07-27 15:19:23 -07:00
4 changed files with 11 additions and 11 deletions
+4 -5
View File
@@ -112,7 +112,6 @@ void Adafruit_TFTLCD::init(void) {
rotation = 0;
cursor_y = cursor_x = 0;
int textsize = 1;
textcolor = 0xFFFF;
_width = TFTWIDTH;
_height = TFTHEIGHT;
@@ -342,7 +341,6 @@ void Adafruit_TFTLCD::begin(uint16_t id) {
} else if (id == 0x9341) {
uint16_t a, d;
driver = ID_9341;
CS_ACTIVE;
writeRegister8(ILI9341_SOFTRESET, 0);
@@ -885,7 +883,7 @@ void Adafruit_TFTLCD::setRotation(uint8_t x) {
if (driver == ID_9341) {
// MEME, HX8357D uses same registers as 9341 but different values
uint16_t t;
uint16_t t = 0;
switch (rotation) {
case 2:
@@ -909,7 +907,7 @@ void Adafruit_TFTLCD::setRotation(uint8_t x) {
if (driver == ID_HX8357D) {
// MEME, HX8357D uses same registers as 9341 but different values
uint16_t t;
uint16_t t = 0;
switch (rotation) {
case 2:
@@ -1012,7 +1010,8 @@ uint16_t Adafruit_TFTLCD::readID(void) {
// retry a bunch!
for (int i = 0; i < 5; i++) {
id = readReg(0xD3);
id = (uint16_t)readReg(0xD3);
delayMicroseconds(50);
if (id == 0x9341) {
return id;
}
+4 -3
View File
@@ -1,14 +1,15 @@
# Adafruit library for 8-bit TFT LCDs such as ILI9325, ILI9328, etc
This is a library for our Adafruit 16-channel PWM & Servo driver, shield or FeatherWing
This is a library for our Adafruit 8-bit TFT LCD breakouts
<a href="https://www.adafruit.com/products/335"><img src="assets/image.jpg" height="300"/></a>
Pick one up today in the adafruit shop!
* https://www.adafruit.com/product/335
* [https://www.adafruit.com/product/335](https://www.adafruit.com/product/1770)
* https://www.adafruit.com/product/376
* https://www.adafruit.com/product/335
These displays use 8-bit parallel to communicate, 12 or 13 pins are required to interface (RST is optional).
These displays use 8-bit parallel to communicate, 12 or 13 pins are required to interface (RST is optional). This library supports 8-bit and 16-bit parallel TFT displays on AVR (ATmega328/32u4/1280/2560) and the Arduino Due (SAM3X8E) only. It does not support ESP32, ESP8266, SAMD or RP2040 boards. For parallel displays on ESP32-S3, see the LCD_CAM peripheral and a library that drives it.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
+1 -1
View File
@@ -1,5 +1,5 @@
name=Adafruit TFTLCD Library
version=1.0.2
version=1.0.4
author=Adafruit
maintainer=Adafruit <info@adafruit.com>
sentence=Adafruit 2.8" TFT display Library
+2 -2
View File
@@ -359,8 +359,8 @@
#define read8inline(result) \
{ \
\
RD_ACTIVE; \
\
RD_ACTIVE; \
delayMicroseconds(1); \
result = (((PIOC->PIO_PDSR & (1 << 23)) >> (23 - 7)) | \
((PIOC->PIO_PDSR & (1 << 24)) >> (24 - 6)) | \