Wire.setClock  ( clockfrequency -- )

published: 24 January 2022 / updated 3 April 2022

Lire cette page en français

 

vocabulary: Wire

Modifies the clock frequency for I2C communication. I2C slave devices have no minimum working clock frequency, however 100KHz is usually the baseline.

clockFrequency: the value (in Hertz) of the communication clock. Accepted values are 100000 (standard mode) and 400000 (fast mode). Some processors also support 10000 (low speed mode), 1000000 (fast mode plus) and 3400000 (high speed mode). Please refer to the specific processor documentation to make sure the desired mode is supported.


Legal: site web personnel sans commerce / personal site without seling