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!
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!