Sketch Pad icon Sketch Pad — Script-driven Sketch Pad for ARC: draw shapes, text, lines and faces via controlCommand() to visualize object locations, paths and robot data. 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).