Skip to content

Matiasus/ST7735

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Library for ST7735 1.8 TFT LCD display

ST7735 Description

Detailed information are described in Datasheet ST7735. New version 2.0 allow to connect more than 1 display.

Library

C library is aimed for driving ST7735 1.8 TFT LCD display 162x132 through SPI's Atmega328P / Atmega8 / Atmega16A.

Hardware connection ATMEGA328P -> LCD1

PORT LCD PORT ATMEGA328P Description
RST PORTD 7 Chip Reset Signal
CS PORTB 2 SPI Chip Select
D/C PORTB 0 SPI data / command; 1=Data, 0=Command
DIN PORTB 3 SPI Serial data in / MOSI
CLK PORTB 5 SPI Serial clock signal
UCC +5V Supply Voltage +5V
BL PORTB 1 Backlight control (with resistor 40-150 Ohm)
GND GND Ground

Hardware connection ATMEGA328P -> LCD2

PORT LCD PORT ATMEGA328P Description
RST PORTD 3 Chip Reset Signal
CS PORTD 0 SPI Chip Select
D/C PORTB 0 SPI data / command; 1=Data, 0=Command
DIN PORTB 3 SPI Serial data in / MOSI
CLK PORTB 5 SPI Serial clock signal
UCC +5V Supply Voltage +5V
BL PORTD 1 Backlight control (with resistor 40-150 Ohm)
GND GND Ground

Usage

Prior defined for MCU Atmega16 / Atmega8 / Atmega328P. Need to be carefull with SPI ports definition.

PORT Atmega16 Atmega8 / Atmega328
SS PB4 PB2
MOSI PB5 PB3
MISO PB6 PB4
SCK PB7 PB5

Tested

Library was tested and proved on a ST7735 1.8″ TFT Display with Atmega328P.

Demonstration

Links

About

C library for ST7735 LCD driver

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy