1.8“ TFT Display
Published: 08.11.2018
Copyright by Joy-IT
10
3.4 DISPLAYING AN IMAGE
In order to display an image on the display, a compatible image viewer must first be installed. You can
install it with the following command:
You can use the following command to download a suitable example image:
The downloaded image can now be displayed with the previously installed image viewer.
3.5 PLAYING A VIDEO
In order to relieve the processor as much as possible during the playback of a movie, it is recommended
to mirror the graphic output (framebuffer) by the program
fbcp
, so that it can be calculated by the
graphics card unit. Therefore, the program has to be installed first.
The mirroring can be started with the following command:
You can use the following command to download a suitable example video:
apt
-
get
-
y install fbi
wget https://dummyimage.com/100.jpg
sudo fbi
-
d /dev/fb1
-
T 1
-
noverbose
-
a 100.jpg
sudo apt
-
get install cmake
git clone https://github.com/tasanakorn/rpi
-
fbcp
cd
rpi
-
fbcp/
mkdir build
cd
build/
cmake ..
make
sudo install fbcp /usr/local/bin/fbcp
fbcp &
wget https://archive.org/download/Test_Avi/MVI_0043.avi
Summary of Contents for RB-TFT1.8
Page 1: ...1 8 TFT Display 3...