• sigge

    Insering a sleep for a few hundred ms seems to work. Resolved!

    posted in Pythonista read more
  • sigge

    This simple example return a zero-vector, ie. no values for for the gravity (returns (0.0, 0.0, 0.0)). Why?

    Running on iPad Pro 2019.

    import motion
    
    def main():
        motion.start_updates()
    
        mf = motion.get_gravity()
        print(mf)
    
        motion.stop_updates()
        
        
    if __name__ == '__main__':
        main() 
    

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!