Git Product home page Git Product logo

st7789py_mpy's Introduction

Python ST7789 driver for MicroPython

This is a fork from https://github.com/russhughes/st7789py_mpy.

This driver support for:

  • 320x240, 280x240, 240x240 and 135x240 pixel displays
  • Display rotation
  • Hardware based scrolling
  • Drawing text using 8 and 16 bit wide bitmap fonts with heights that are multiples of 8. Included are 12 bitmap fonts derived from classic pc BIOS text mode fonts.
  • Drawing text using converted TrueType fonts.
  • Drawing converted bitmaps

This is a work in progress. Documentation can be found in the docs directory and at https://penfold.owt.com/st7789py.

Examples

See the examples directory for example programs that run on the LILYGO® TTGO T-Display and a generic 320x240 display connected to an ESP32.

Fonts

See the subdirectories in the fonts directory for the converted font modules used in the examples. These modules can be compiled using the mpy-cross compiler before uploading to save memory.

st7789py_mpy's People

Contributors

russhughes avatar kankungyip avatar slabua avatar

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.