Closed alexandru-cohal closed 3 years ago
Thank you @alexandru-cohal for reporting. This issue will be fixed shortly.
@karlsoderby did you ever get a chance to fix this error? I see it is still there on the tutorial.
@per1234 just updated the platform, replacing readAccelerometer with readAcceleration. Thanks for the reminder, it had avoided previous updates somehow!
The Opla IoT Kit "Get To Know The Carrier" project is available on this page: https://opla.arduino.cc/opla/module/carrier/lesson/get-to-know-the-carrier
In the "Core programming terms" section, "Loop" subsection, there is a code snippet with commands for reading the sensors available on the MKR IoT Carrier. For reading the acceleration provided by the IMU sensor, the following command is provided
which generates the following error
As suggested in the error and also explained in the documentation of the LSM6DS3 library of the IMU sensor, the readAccelerometer method should be replaced with the readAcceleration method.
I am using the Arduino Web Editor with the _ArduinoMKRIoTCarrier Library version 0.9.6.