finani/ICM42688

compiling error in the FIFO_SPI example file

paul-dls opened this issue · 1 comments

Hello,
First, thank you for developing this library which is very well documented
Nevertheless I encountered an error while compiling the FIFO_SPI.ino file, it seems it has not been tested yet since there is the following line at the beginning of the code :
// TODO: Need to test this with the ICM42688

I don't have the same issue with the basic_SPI example

Here is the error message:

FIFO_SPI: In function 'void setup()':
FIFO_SPI:27: error: 'class ICM42688_FIFO' has no member named 'setDlpfBandwidth'
   IMU.setDlpfBandwidth(ICM42688::DLPF_BANDWIDTH_21HZ);
       ^

FIFO_SPI:27: error: 'DLPF_BANDWIDTH_21HZ' is not a member of 'ICM42688'
   IMU.setDlpfBandwidth(ICM42688::DLPF_BANDWIDTH_21HZ);
                        ^

FIFO_SPI:29: error: 'class ICM42688_FIFO' has no member named 'setSrd'
   IMU.setSrd(19);
       ^

'class ICM42688_FIFO' has no member named 'setDlpfBandwidth'

Thank you very much