I2C Controller Write
R2026bLibraries:
UAV Toolbox Support Package for ArduPilot Autopilots /
Peripheral Blocks
Description
Add-On Required: This feature requires the UAV Toolbox Support Package for ArduPilot Autopilots add-on.
The I2C Controller Write block writes data to an I2C peripheral device connected to the board.
Use this block to:
Send data to I2C peripheral devices on ArduPilot autopilot hardware.
Write data to specific registers on I2C peripheral devices. To write to a specific register, enable the Enable register access parameter.
To view the mapping between the bus numbers and the port labels on hardware board, click View I2C Bus map.
Simulation Behavior:
Normal mode simulation — The block does not perform any write operations.
Connected I/O simulation — The block writes data to the peripheral devices connected to the hardware.
Ports
Input
Output
Parameters
Version History
Introduced in R2026b
