Closed plusk01 closed 1 year ago
This PR breaks the existing API in favor of various simplifications, fixes, and code clean ups.
setAccelFS
setGyroFS
setAccelODR
setGyroODR
enableDataReadyInterrupt
readAccel
readAccelGyro
readSensor
getAGT
accX()
gyrZ()
temp()
ICM42688.h
SPI_HS_CLK
tested with SPI on esp32. FIFO code remains to be reviewed and tested.
after i test that everything is working well in a larger project, i'll merge and create a new tag (v1.1.0) to update the arduino library register
v1.1.0
This PR breaks the existing API in favor of various simplifications, fixes, and code clean ups.
setAccelFS
andsetGyroFS
do not clobber entire register anymore (previously would override ODR setting)setAccelODR
andsetGyroODR
functionsenableDataReadyInterrupt
and testedreadAccel
andreadAccelGyro
and renamedreadSensor
togetAGT
for simplicity (mirrors SparkFun's ICM 20948 library)accX()
, ...,gyrZ()
,temp()
to mirror SparkFun's libICM42688.h
SPI_HS_CLK
(since ICM42688 supports up to 24 MHz) --> defaults to 8 MHztested with SPI on esp32. FIFO code remains to be reviewed and tested.