HyperPixel 4.0 is an 800x480 pixel display for the Raspberr Pi, with optional capacitive touchscreen.
First, clone this GitHub repository to your Pi:
git clone https://github.com/pimoroni/hyperpixel4
Then run the installer to install:
cd hyperpixel4
sudo ./install.sh
Note: You must build the latest dtoverlay file to enable rotation support:
- Go into
src
- run
make
to build a new hyperpixel4.dtbo with rotation support - copy the overlay with
sudo cp hyperpixel4.dtbo /boot/overlays/
To rotate your HyperPixel4 you must edit /boot/config.txt and change the following lines:
- Change
dtoverlay=hyperpixel4
todtoverlay=hyperpixel4:rotate
- Change
display_rotate=3
todisplay_rotate=1
This will rotate both the display and the touchscreen input to match.
If you're using a non-touchscreen HyperPixel4 you need only change display_rotate
.