Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.43 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.43 KB

MicroPython_CYD_ESP32-2432S028R

This is a higher-level library to allows MicroPython users to easily control the ESP32-2432S028R, more commonly known as the Cheap Yellow Display (CYD).

Dependencies

This library depends on:

A copy of rdagger's ili9341 and xpt2046 libraries are available in the resources folder.

Installation

Follow MicroPython's installation instructions to get your CYD board ready. Use your preferred MicroPython IDE (e.g. Thonny) to transfer cydr.py, boot.py, ili9341.py, and xpt2046.py to your CYD board.

Usage

You can create a new main.py file and use:

from cydr import CYD
cyd = CYD()

or

from cydr import CYD
cyd = CYD(rgb_pmw=False, speaker_gain=512,
          display_width=240, display_height=320,
          wifi_ssid = None, wifi_password = None)

to access the CYD or you can use one of the example programs provided in the repository.

License

The repository's code is made available under the terms of the MIT license. Please take a look at license.md for more information.