NMS Example icon NMS Example Example NMS Level #1 navigation skill showing subscription to combined scan+location data, displaying position and scan info; source code included. 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).