adafruit / Adafruit_LSM6DS

Arduino library for LSM6DS
Other
47 stars 39 forks source link

put this section into _init() #3

Closed ladyada closed 4 years ago

ladyada commented 4 years ago

this is not part of the reset process? if not, it goes into init()

  setInt1DataReady(true);

  // enable accelerometer and gyro by setting the data rate to non-zero
  // (disabled)
  setAccelDataRate(LSM6DS33_RATE_104_HZ);
  setGyroDataRate(LSM6DS33_RATE_104_HZ);

  delay(10);
ladyada commented 4 years ago

ok after working on LSM6DS33, you should just subclass that object for both the LSM6DSOX - override maybe _init() and make a new repo for the ISM. chat with me when are you are ready to do it