# coding: utf-8

import pigpio


class IMU(object):
    def __init__(self):
        pass

    def get_data(self):
        pass

# coding: utf-8

import pigpio


class IMU(object):
    def __init__(self, interrupt_handle):
        # TODO
        pass

    def get_data(self):
        pass

Update imu.py