Sample Code for Waveshare RP2040-LCD-0.96
I purchased the Waveshare RP2040-LCD-0.96 from Amazon and found that there were few CircuitPython examples to use the functions of the board.
- Amazon Product: <a href="https://smile.amazon.com/gp/product/B09LT5LYPD/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&th=1"
- Waveshare Store: https://www.waveshare.com/RP2040-LCD-0.96.htm
- Waveshare Wiki:
CircuitPython Sample Code for LCD
- Display a bitmap (BMP) image
- Code/LCD-Image
- Modified from https://tutorial.cytron.io/2021/12/21/display-image-on-the-graphic-lcd-using-maker-nano-rp2040-and-circuitpython/ Display image on the graphic LCD using maker nano rp2040 and CircuitPython
- Sample Image
- Display simple text
- Display Graphics and Text
- Code/LCD-Grapics-n-Text
- Modified from https://learn.adafruit.com/1-8-tft-display/displaying-bitmaps?view=all 1.8" TFT Display Breakout and Shield
- Sample Image
LCD Pins
- GP8 - LCD_DC
- GP9 - LCD_CS
- GP10 - LCD_CLK
- GP11 - LCD_DIN
- GP12 - LCD_RST
- GP25 - LCD_BL
Other Notes
- Battery Connector
- The connector is 1.25mm not 2.0mm so most LiPo batteries will not fit. It will be necessary to obtain MX1.25 connectors and carefully splice to the Lithium battery. Not certain if micro JST connectors are the same or will fit.