You can use Puck.accelWr(reg, data) to write to it directly - the default value is 0b00010000 (245dps, 12.5Hz) so Puck.accelWr(0x11, 0b00011100); will set it to 2000dps, not 245 - then you just need to divide by 16.384 to get degrees per second
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I believe the gyro full range is 245 degrees per second, so yes, if you divide by 134 you should get degrees per second values.
And yes, you can reconfigure it. This is the reference for the chip: http://www.espruino.com/files/LSM6DS3TR-C.pdf and
CTRL2_G
is the register that handles the scale.You can use
Puck.accelWr(reg, data)
to write to it directly - the default value is 0b00010000 (245dps, 12.5Hz) soPuck.accelWr(0x11, 0b00011100);
will set it to 2000dps, not 245 - then you just need to divide by16.384
to get degrees per second