text: import time
  import board
  import busio
  import adafruit_bno055
  from adafruit_extended_bus import ExtendedI2C as I2C
  
   
  # Use these lines for I2C
  # i2c = busio.I2C(board.SCL, board.SDA)
  i2c=I2C(1)
  sensor = adafruit_bno055.BNO055_I2C(i2c)
   
  # User these lines for UART
  # uart = busio.UART(board.TX, board.RX)
  # sensor = adafruit_bno055.BNO055_UART(uart)
   
  while True:
      print("Temperature: {} degrees C".format(sensor.temperature))
      print("Accelerometer (m/s^2): {}".format(sensor.acceleration))
      print("Magnetometer (microteslas): {}".format(sensor.magnetic))
      print("Gyroscope (rad/sec): {}".format(sensor.gyro))
      print("Euler angle: {}".format(sensor.euler))
      print("Quaternion: {}".format(sensor.quaternion))
      print("Linear acceleration (m/s^2): {}".format(sensor.linear_acceleration))
      print("Gravity (m/s^2): {}".format(sensor.gravity))
      print()
   
      time.sleep(1)
  