You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
392 B

#include "SIM_Invensense_v3.h"
namespace SITL {
class ICM40609DevReg : public InvensenseV3DevReg {
public:
};
class ICM40609 : public InvensenseV3
{
public:
void init() override {
InvensenseV3::init();
set_register(ICM40609DevReg::WHOAMI, (uint8_t)0x3b);
}
float accel_scale() const override { return (GRAVITY_MSS / 1024); }
private:
};
} // namespace SITL