Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified Sensors.ino to work with Teensy 3.1 #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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