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).
This library depends on:
- MicroPython - Firmware: v1.23.0 (2024-06-02) .bin (UPDATED)
- rdagger/micropython-ili9341 - ili9341.py, Retrieved: 12/2/23
- rdagger/micropython-ili9341 - xpt2046.py, Retrieved: 12/2/23
A copy of rdagger's ili9341 and xpt2046 libraries are available in the resources folder.
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.
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.
The repository's code is made available under the terms of the MIT license. Please take a look at license.md for more information.