This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Changing gyro range for Puck-js sensor
#8
(06-07-2023, 04:00 PM)Jens Noritzsch Wrote:
(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. Smile

There should have been this link: https://www.espruino.com/Reference#l_Puck_accelWr  Angel

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.
Jens:
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.
Reply


Messages In This Thread
RE: Changing gyro range for Puck-js sensor - by scspaeth - 06-13-2023, 12:21 AM

Forum Jump: