FemmeVerbeek / Arduino_LSM9DS1

LSM9DS1 Library for Arduino
Other
63 stars 14 forks source link

class LSM9DS1 has no member named setMagnetODR #12

Open tlynskey opened 3 years ago

tlynskey commented 3 years ago

Hi, I keep getting the error, "class LSM9DS1 has no member named setMagnetODR" when compiling the provided code. Have you received this error before?

FemmeVerbeek commented 3 years ago

You have to remove the original LSM9DS1 library directory from the ...document\Arduino\libraries\Adruino_LSM9DS1.... and copy this one instead.
Alternatively you will probably have to use IMU.setMagnetODR