import board
import displayio
import adafruit_ssd1327
import busio
import time

displayio.release_displays()

i2c = busio.I2C(board.SCL, board.SDA)

from adafruit_lsm6ds import LSM6DS33
sensor = LSM6DS33.LSM6DS33(i2c)

display_bus = displayio.I2CDisplay(i2c, device_address=0x3D)
time.sleep(1)
display = adafruit_ssd1327.SSD1327(display_bus, width=128, height=128)