Skip to main content

i2c.disable()

Disables the I²C bus

Availability

Device

Returns

Nothing

Description

Use this method to save power — configuring a bus locks internal clocks’ frequencies which may otherwise be lowered to reduce power consumption — or before reconfiguring the pins assigned to the I²C bus for another role. It is only necessary to call this method if you have already called i2c.configure(), which enables the specified port.