Devices are low-level hardware interfaces that simplify the process of creating drivers. We implemented a basic I2C API to communicate with an IMU.