M5Unit-IMU 0.0.2 git rev:e5b00aa
Loading...
Searching...
No Matches
m5::unit::UnitSH200Q::config_t Struct Reference

Settings for begin() More...

#include <unit_sh200q.hpp>

Public Attributes

bool start_periodic {true}
 Start periodic measurement on begin()?
 
sh200q::AccelRange accel_range {sh200q::AccelRange::G8}
 Accelerometer range.
 
sh200q::GyroRange gyro_range {sh200q::GyroRange::DPS2000}
 Gyroscope range.
 
sh200q::AccelOdr accel_odr {sh200q::AccelOdr::HZ256}
 Accelerometer output data rate.
 
sh200q::GyroOdr gyro_odr {sh200q::GyroOdr::HZ500}
 Gyroscope output data rate (also paces the periodic measurement)
 
sh200q::GyroDlpf gyro_dlpf {sh200q::GyroDlpf::BW50}
 Gyro low pass filter.
 

Detailed Description

Settings for begin()

Note
Defaults match the original M5StickC library (8G / 2000dps / 256Hz / 500Hz / DLPF 50Hz)
These are the settings applied by begin(). They are not updated by the runtime setters (writeAccelRange() and friends), so config() keeps reporting what was configured – read the device with readAccelRange() etc. to find out what is in effect now