Comm Expansion Configuration icon Comm Expansion Configuration Configure EZ-B v4/2 Comm Expansion: switch between UART transparent proxy and USB direct PC link (avoids WiFi); EZ-B needs separate power. Try it →
 

Setclockspeed

I2C.setClockSpeed(speed, [ezbIndex])

Parameters

speed Clock speed to set the I2C interface to.
ezbIndex (optional) Board index of the EZB to set the I2C clock speed of.

Returns

Nothing

Description

Sets the clock speed of the I2C interface. The default speed is 100000, which is 100khz. Many devices support faster speeds, up to 400000 (400khz).