Modifications

Sauter à la navigation Sauter à la recherche
Aucun changement de taille ,  15 décembre 2018 à 19:03
Ligne 116 : Ligne 116 :  
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
 
from machine import Pin, I2C
 
from machine import Pin, I2C
i2c = I2C( sda=Pin(4), scl=Pin(5) )
+
i2c = I2C( sda=Pin(2), scl=Pin(4) )
 
import ssd1306
 
import ssd1306
 
lcd = ssd1306.SSD1306_I2C( 128, 64, i2c )
 
lcd = ssd1306.SSD1306_I2C( 128, 64, i2c )
29 917

modifications

Menu de navigation