Skip to content

liyanboy74/glcd-st7920-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b28ebff · Dec 28, 2020

History

4 Commits
Oct 22, 2020
Oct 22, 2020
Oct 22, 2020
Oct 22, 2020
Dec 28, 2020
Oct 22, 2020

Repository files navigation

GLCD ST7920 Serial Lib

That is Edited version of Original version for stm32.

for Enable Serial mode for GLCD ST7920 Pin15="PSB" must connect to GND!

Other Pins:

GLCD Pin Name (PSB=Hi) Name (PSB=LOW)
4 RS CS
5 R/W SID
6 E SCK

Note:

  • don't need hardware SPI , the library use GPIO to generate serial mode for st7920!
  • All 3 pins must set as output.

Example Define Pins in main.h:

#define GLCD_SID_Pin 		GPIO_PIN_1
#define GLCD_SID_GPIO_Port 	GPIOA

#define GLCD_SCK_Pin 		GPIO_PIN_2
#define GLCD_SCK_GPIO_Port 	GPIOB

#define GLCD_RST_Pin 		GPIO_PIN_12
#define GLCD_RST_GPIO_Port 	GPIOB

#define GLCD_CS_Pin 		GPIO_PIN_8
#define GLCD_CS_GPIO_Port 	GPIOA

About

GLCD 64*128 ST7920 Serial library for STM32

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages