Skip to content

Commit

Permalink
Merge pull request #39 from xenomorpheus/main
Browse files Browse the repository at this point in the history
Update bno08x_find_heading.py
  • Loading branch information
jposada202020 authored Mar 9, 2023
2 parents 3f643ca + 9a42fd5 commit bcbde08
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/bno08x_find_heading.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@
from board import SCL, SDA
from busio import I2C
from adafruit_bno08x import (
BNO_REPORT_STEP_COUNTER,
BNO_REPORT_ROTATION_VECTOR,
BNO_REPORT_GEOMAGNETIC_ROTATION_VECTOR,
)
from adafruit_bno08x.i2c import BNO08X_I2C

i2c = I2C(SCL, SDA, frequency=800000)
bno = BNO08X_I2C(i2c)
bno.enable_feature(BNO_REPORT_STEP_COUNTER)
bno.enable_feature(BNO_REPORT_ROTATION_VECTOR)
bno.enable_feature(BNO_REPORT_GEOMAGNETIC_ROTATION_VECTOR)

Expand Down

0 comments on commit bcbde08

Please sign in to comment.