Git Product home page Git Product logo

micropython-st7565's Introduction

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

import machine
from st7565 import ST7565

RST = 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()

micropython-st7565's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

micropython-st7565's Issues

ST7571 on ESP-WROOM-32 (30 pin ESP board)

Hi, this is such a great job!!

I am trying to upgrade it to the ST7571 controller and for ESP32 based boards.

Could you please give me some help?

I am willing to put a lot of my own efforts into it but your guidance will be very appreciated.

There may be some changes to do in some SPI commands and values.

Best regards,
Ludovic

lcd12864 pin link

Mx2qWF.md.jpg
I have an LCD screen, which is driven by st7565, but I don't know how to connect the line with micropython

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.