Roomba Tones icon Roomba Tones Deprecated Roomba control; replaced by the iRobot Roomba Movement Panel for updated movement control. 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).