Modifications

Sauter à la navigation Sauter à la recherche
Ligne 13 : Ligne 13 :  
[[Fichier:MicroPython-ILI9341-Demarrer-00.jpg|640px]]
 
[[Fichier:MicroPython-ILI9341-Demarrer-00.jpg|640px]]
    +
=== Quelques explications ===
 +
La première ligne {{fname|from lcd import *}} importe le script lcd.py et tous les éléments permettant de commander l'écran tft.
 +
 +
La deuxième ligne {{fname|1=l = LCD( rate=21000000 )}} crée un object '''LCD'''. Le paramètre rate=
 
{{MicroPython-ILI9341-TRAILER}}
 
{{MicroPython-ILI9341-TRAILER}}
29 917

modifications

Menu de navigation