Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nquest/micropython-st7565
Micropython driver for ST7565 based LCD
https://github.com/nquest/micropython-st7565
lcd micropython micropython-driver
Last synced: about 16 hours ago
JSON representation
Micropython driver for ST7565 based LCD
- Host: GitHub
- URL: https://github.com/nquest/micropython-st7565
- Owner: nquest
- Created: 2018-02-05T23:16:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-14T22:33:51.000Z (over 6 years ago)
- Last Synced: 2024-08-02T20:45:16.143Z (3 months ago)
- Topics: lcd, micropython, micropython-driver
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 10
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mpython - micropython-st7565 - Driver for ST7565 128x64 LCDs. (精选驱动库 / 显示类)
- awesome-micropython - micropython-st7565 - Driver for ST7565 128x64 LCDs. (Libraries / Display)
README
ST7565 LCD driver for micropython
=================================Description
-----------
This is micropython driver for LCDs based on **ST7565** controller.
Only serial mode sopported.Wiring example for ESP8266-based modules
----------------------------------------|LCD | ESP8266|
|----|--------|
|A0 | GPIO 0 |
|RST | GPIO 16|
|CS | GPIO 15|
|DATA| GPIO 13|
|CLOCK| GPIO 14|Usage example
-------------
```python
import machine
from st7565 import ST7565RST = Pin(16, Pin.OUT)
A0 = Pin(0, Pin.OUT)
CS = Pin(15, Pin.OUT)
spibus = SPI(1, baudrate=1000000, polarity=1, phase=1)display = ST7565(spibus, A0, CS, RST)
display.fill(1)
display.show()
```