How to change IIC (I2C) clock rate on MKR1000
Looking for a very short example!


easy:

1) find out the mcu used by the board;

2) look up its datasheet;

3) go to the i2c section and find the register(s) that control the i2c clock speed;

4) change it/them.

alternatively, you can take a look at the i2c initialization code and go from there.

the likely solution will be a one liner: use a mask to clear bits and then set those bits depending on your desire i2c speed.