package
0.0.0-20240925065717-ebac60033aee
Repository: https://github.com/b3nn0/stratux.git
Documentation: pkg.go.dev
# Packages
Package bmp388 provides a driver for Bosch's BMP388 digital temperature & pressure sensor.
# Functions
NewBMP280 looks for a BMP280 connected on the I2C bus having one of the valid addresses and begins reading it.
No description provided by the author
NewICM20948 returns an instance of the ICM-20948 IMUReader, connected to an ICM-20948 attached on the I2C bus with either valid address.
NewMPU9250 returns an instance of the MPU9250 IMUReader, connected to an MPU9250 attached on the I2C bus with either valid address.
# Structs
BMP280 represents a BMP280 sensor and implements the PressureSensor interface.
No description provided by the author
ICM20948 represents an InvenSense ICM-20948 attached to the I2C bus and satisfies the IMUReader interface.
MPU9250 represents an InvenSense MPU9250 attached to the I2C bus and satisfies the IMUReader interface.
# Interfaces
IMUReader provides an interface to various Inertial Measurement Unit sensors, such as the InvenSense MPU9150 or MPU9250.
PressureReader provides an interface to a sensor reading pressure and maybe temperature or humidity, like the BMP180 or BMP280.