Skip to content

Conversation

@Sn0MaN
Copy link

@Sn0MaN Sn0MaN commented Jun 25, 2014

Modified Sensors.ino to work with Teensy 3.1

Type casted the Output x,y,z Values for the Read_"Sensor"() Functions for each Sensor to int16_t.

Fixes a problem where the 9DOF Stick (SENS-10724) output values were all zeros on the Teensy 3.1 via I2C.

@andreujuanc
Copy link

Hello, This change also fixes the code for Arduino DUE.
Without the cast it goes NAN.

Regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants