Module i2c

Module i2c 

Source
Expand description

I2C device management for the Omni-Wheel Bot.

This module provides abstractions for initializing and controlling motor PWM drivers and the IMU sensor over a shared I2C bus. Commands are received via I2C_CHANNEL.

Structs§

I2CDevices
High-level driver for PWM motor controller and IMU over a shared I2C bus.

Enums§

DeviceError
Errors that can occur when interacting with I2C-based devices.
I2CCommand
I2C command variants for motion control and device management.

Statics§

I2C_CHANNEL
Channel used to receive I2C commands (I2CCommand messages).