You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was hoping to use the sense hat for a robotics project, but it seems when I try and use both get_orientation_degrees() and get_compass() I mine as well use random.randrange(360)
while True:
# Works great without the call to sense.get_compass()
sense.set_imu_config( False, True, True )
print( sense.get_orientation_degrees() )
# When I add this, all readings become useless.
print( sense.get_compass() )
Can anyone point out what I am doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered:
I was hoping to use the sense hat for a robotics project, but it seems when I try and use both
get_orientation_degrees()
andget_compass()
I mine as well userandom.randrange(360)
Can anyone point out what I am doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered: