from machine import Pin, I2C, sleep
import mpu6050
import time

i2c = I2C (scl =Pin(22), sda =Pin(21))

ledrojo = Pin(13, Pin.OUT)
ledverde = Pin(14, Pin.OUT)
ledazul = Pin(26, Pin.OUT)

mpu = mpu6050.accel(i2c)