Skip to content

RPi Library Installation

jaenrig-ifx edited this page Nov 5, 2020 · 2 revisions

Prerequisites

It is assumed that you have already set up a Raspberry Pi with Raspberry Pi OS or similar and that the hardware setup is already done. If this is not the case, please refer to the getting started page.

Required Software

Library Installation

The library itself does not have to be installed. It is sufficient to clone it from GitHub to compile the example code. However, beforehand the required packets have to be installed:

Install required packages.
sudo apt-get install git wiringpi build-essential
Clone this library from GitHub.
git clone https://github.com/Infineon/hall-switch.git

Ready To Go! Continue here to find out how the example code can be compiled and tested.