06-13-2023, 12:21 AM
(06-07-2023, 04:00 PM)Jens Noritzsch Wrote:Jens:(06-04-2023, 09:30 PM)Jens Noritzsch Wrote: Puck.accelWr looks like a pretty straightforward command to configure the register that you have mentioned – and it should be short enough to be readily included into the experiment source.
There should have been this link: https://www.espruino.com/Reference#l_Puck_accelWr
The function arguments (“reg” and “data”) are documented in http://www.espruino.com/files/LIS3MDL.pdf
So, the file you linked is an example for this, yes.
With the links you shared, I was able to find a code snippet (from Gordon@Espruino) that illustrated in more detail how to code the "reg" and "data" arguments to change the Full Scale range for the gyroscope:
https://forum.espruino.com/comments/15617612/
So, I was able to change the gyro range.
Thanks for your support.