Difference between revisions of "Round-LCD-HAT"
From SB-Components Wiki
(→Python) |
|||
Line 50: | Line 50: | ||
* Now run demo.py by running below command. | * Now run demo.py by running below command. | ||
<pre> python3 demo.py </pre> | <pre> python3 demo.py </pre> | ||
+ | * You can also run "LcdDemo_Joystick.py" file to display image and change color of arc using attached 5 input joystick. | ||
+ | <pre> python3 LcdDemo_Joystick.py </pre> | ||
== Resources == | == Resources == |
Revision as of 11:35, 18 May 2021
Round LCD HAT
Round LCD HAT is a 1.28-inch display expansion board module of 240×240 resolution, 65K RGB colors, clear and colorful displaying effect, with a joystick, designed for Raspberry Pi to expand its engagement via SPI communication by providing standard 40 pins GPIO interface. The Round LCD HAT comes with an embedded GC9A01 Driver and SPI Interface that minimize the required IO pins. It is designed with a 5-input Joystick that will be internally connected to the Round LCD HAT via a stackable GPIO connector header.
Features
Specifications
Pinout
Installation
Python
- Open a terminal and run the following commands to enable I2C and Serial:
sudo raspi-config
- Choose Interfacing Options -> SPI -> Yes
- You can also use GUI method to enable SPI Go to Menu > Preferences > Raspberry Pi Configuration > Interfaces , and enable SPI
- Stack Round LCD HAT on top of Raspberry Pi GPIO Header pins.
- Make Sure SPI is Enabled (As mentioned above)
- Now clone Round LCD HAT Github repository by running below command in terminal
git clone https://github.com/sbcshop/Round-LCD-HAT.git
- Enter dowloaded directory
cd Round-LCD-HAT
- Now run demo.py by running below command.
python3 demo.py
- You can also run "LcdDemo_Joystick.py" file to display image and change color of arc using attached 5 input joystick.
python3 LcdDemo_Joystick.py