Dependancies
Pre-requisites
Buy the components
This example code does an I2C Bus Scan for the sensors Si7021
and VCNL4000
with PIO.
The datasheets of the 2 sensors below show that the serial monitor prints are in line with the information in the datasheet.
The I2C address for Si7021
is 0x40
.
The I2C address for VCNL4000
is 0x13
.