Skip to content

README.md incorrect example #2

@wallarug

Description

@wallarug

Hi,

The example should read:

import time
from mpu9250 import MPU9250

sensor = MPU9250()

print("MPU9250 id: " + hex(sensor.read_whoami()))

while True:
    print(sensor.read_acceleration())
    print(sensor.read_gyro())
    print(sensor.read_magnetic())

    time.sleep(1000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions