www.joy
-
it.net
Pascalstr. 8 47506 Neukirchen
-
Vluyn
4.2 Library
We use the library
, which is released under
the
First, download
git
for this purpose. To do this, enter the following com-
mands:
git clone https://github.com/ribasco/u8g2
-
rpi
-
demo.git
Now enter the following commands into the console to download and
install all the necessary files.
Some steps in the installation might take some time.
cd u8g2
-
rpi
-
demo/
sudo apt
-
get install libcurl4
-
openssl
-
dev
git clone https://github.com/Kitware/CMake.git
cd CMake
./bootstrap
--
system
-
curl
make
sudo make install
sudo apt
-
get update
sudo apt
-
get install git
Then run the following command to download the library.
cd ..
Select there under
3 Interface Options
→
P4 SPI
sudo raspi
-
config
Now enable serial communication by calling the configuration of the
Raspberry Pi with the following command.