![]() ZBasic System Library
67
ZBasic Microcontrollers
Type
Subroutine
Invocation
CloseI2C(channel)
Parameter
Method
Type
Description
channel
ByVal
Byte
The I2C channel number (0-4).
Discussion
This subroutine closes an I2C channel. For the hardware I2C channel, it disables the on-board I2C
controller allowing the hardware I2C pins to be used for other purposes. For software I2C channels it has
no effect.
Compatibility
This subroutine is not available in BasicX compatibility mode.
See Also
|