Index

MATRIX HAL Examples

Download Examples

The following commands download and compile all the examples.

sudo apt-get install cmake g++ git

Download, build, and run the examples.

cd ~/
git clone https://github.com/matrix-io/matrix-hal-examples.git
cd matrix-hal-examples
mkdir build
cd build
cmake ..
make -j4

Everloop

LED interface.

Humidity

Humidity and temperature measurement.

IMU

Inertial Measurement Unit.

Pressure

Pressure, altitude and temperature measurement.

UV

Ultraviolet light sensor.

GPIO

General Purpose Input/Output.

Microphone

Microphone Array.

NFC

Near field communication.

The NFC Examples are not part of the main HAL Repository, they can be found here.