Dependancies
Pre-requisites
Buy the components
Learn how to split long files into several header and cpp files for better code organization. The final directory structure will look like this:
$ tree
.
├── Imu.cpp
├── Imu.h
├── Makefile
├── Sensor.cpp
├── Sensor.h
└── nano33-ble-sense-imu-sensors.ino
0 directories, 6 files
Install the dependancies:
arduino-cli lib install Arduino_LSM9DS1
arduino-cli lib install Arduino_HTS221