Modifications

Sauter à la navigation Sauter à la recherche
20 octets ajoutés ,  25 février 2022 à 00:32
Ligne 180 : Ligne 180 :  
from machine import I2C
 
from machine import I2C
   −
i2c = I2C( 0 ) # sda=GP8, scl=GP9
+
i2c = I2C( 0 ) # sda=GP8, scl=GP9 @ 400 KHz (default)
 
# i2c = I2C( 0, freq=100000 ) # Reduce bus speed @ 100 KHz
 
# i2c = I2C( 0, freq=100000 ) # Reduce bus speed @ 100 KHz
 
</syntaxhighlight>
 
</syntaxhighlight>
29 917

modifications

Menu de navigation