/ST7528i

Library for I2C graphical LCD based on Sitronix ST7528i controller (16 grayscale levels).

Primary LanguageC++MIT LicenseMIT

ST7528i

Library for I2C graphical LCD based on Sitronix ST7528i controller (16 grayscale levels).

This library is based on the work done by LonelyWolf and his ST7528 SPI library: https://github.com/LonelyWolf/stm32/tree/master/ST7528

I'm using the NHD-C160100DiZ-FSW-FBW COG (Chip-On-Glass) Liquid Crystal Display Module.

NHD- Newhaven Display
C160100- 160 x 100 Pixels
DiZ- Model (I²C)
F- Transflective
SW- Side White LED Backlight
F- FSTN, Positive
B- 6:00 Optimal View
W- Wide Temp

This library is a work-in-progress and will change quite a bit over time.

Example Usage

#include "st7528i.h"
#include "font5x7.h"

#define RST 8

void setup() {
  ST7528i display(RST);
  display.Init();
  display.PutStr(5, 30, "Hello World", fnt5x7);
  display.Flush();
}

void loop() {

}