Plain C AVR library for ST7735 displays
Go to file
Sebastian e0527a6876 Fixed typo 2021-02-13 21:04:44 +01:00
fonts Added additional font and the font converter 2016-12-08 02:15:02 +01:00
images Added additional font and the font converter 2016-12-08 02:15:02 +01:00
include Fixed mixing of tabs and spaces 2019-02-28 21:37:40 +10:00
utils Added additional font and the font converter 2016-12-08 02:15:02 +01:00
.clang_complete Added fontrendering 2016-12-08 01:21:36 +01:00
.gitignore Cleanups 2016-12-07 00:26:43 +01:00
Makefile Make target for building static library 2021-02-07 06:03:14 +01:00
README.md Fixed typo 2021-02-13 21:04:44 +01:00
main.c Add files via upload 2019-05-22 08:01:09 +01:00
spi.c Fix unused pin PB0 being used in init 2019-03-14 16:08:44 +10:00
st7735.c Add files via upload 2019-05-22 08:01:09 +01:00
st7735_font.c Added fontrendering 2016-12-08 01:21:36 +01:00
st7735_gfx.c Added graphic primitives 2016-12-07 21:14:46 +01:00

README.md

ST7735 for AVR

Please note: This repository is archived. However barskern has kindly agreed to continue maintaining this library. Please go to: https://github.com/barskern/avr-st7735 for the latest version as well as for issues and pull requests.

example of working display

My simplified plain C version of https://github.com/adafruit/Adafruit-ST7735-Library and parts of https://github.com/adafruit/Adafruit-GFX-Library/

Use at your own risk!

Tweaks

By LongHairedHacker:

By Massey101:

  • Added support for bitmap clipping
  • Added JAYCAR screen for XC4629 support

By barskern:

  • Make target for linking a static library

Usage

Connect the display to the following PINS:

JAYCAR screen and ATMEGA328:

Screen AVR
VCC 5V
GND GND
CS PB2
RESET PD7
A0 PD6
SDA PB3
SCK PB5
LED 3.3V
  1. Set the environment variables for:
  • AVRMCU - Your avr chip
  • F_CPU - Your clock speed
  • ISPPORT - programming device
  1. Modify include/st7735.h:st7735_type to your screen. (I have no idea how to figure out which is which)
  2. Run make flash