Modifications

Sauter à la navigation Sauter à la recherche
171 octets ajoutés ,  16 septembre 2018 à 21:25
Ligne 68 : Ligne 68 :  
=== Créer lcd ===
 
=== Créer lcd ===
 
==== pour FeatherWing OLED ====
 
==== pour FeatherWing OLED ====
x
+
<syntaxhighlight lang="python">
 +
from machine import Pin, I2C
 +
i2c = I2C( sda=Pin(4), scl=Pin(5) )
 +
import ssd1306
 +
lcd = ssd1306.SSD1306_I2C( 128, 32, i2c )
 +
</syntaxhighlight>
    
=== Tester lcd ===
 
=== Tester lcd ===
29 917

modifications

Menu de navigation