BMP3XX.detect
You're seeing just the function
detect
, go back to BMP3XX module for more information.
Specs
detect(binary(), bus_address()) :: {:ok, sensor_type()} | {:error, any()}
Detect the type of sensor that is located at the I2C address
If the sensor is a known BMP3XX sensor, the response will either contain
:bmp388
or :bmp390
. If the sensor does not report back that it is one of
those two types of sensors the return value will contain the id value that
was reported back form the sensor.
The bus address is likely going to be 0x77 (the default) or 0x76.