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

Add support for onchip temperature #1

Closed
tuupola opened this issue Feb 17, 2018 · 2 comments
Closed

Add support for onchip temperature #1

tuupola opened this issue Feb 17, 2018 · 2 comments
Assignees

Comments

@tuupola
Copy link
Owner

tuupola commented Feb 17, 2018

Should look something like:

from machine import I2C, Pin
from mpu9250 import MPU9250

i2c = I2C(scl=Pin(22), sda=Pin(21))
sensor = MPU9250(i2c)

print(sensor.temperature)
@vvkuryshev
Copy link

Hello, Mika!

Great project. It works on esp8266 (I use acceleration and rotation measurement). But in fact temperature is not added to mpu9250 module.

@tuupola
Copy link
Owner Author

tuupola commented Feb 4, 2019

Yeah temperature is still on TODO list. I should pay attention to this library again in the near future.

@tuupola tuupola self-assigned this Feb 9, 2019
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

No branches or pull requests

2 participants