Modifications
Sauter à la navigation
Sauter à la recherche
← Modification précédente
Modification suivante →
Micropython-neotrellis-wiring
(voir la source)
Version du 7 mars 2025 à 15:40
Aucun changement de taille
,
7 mars 2025 à 15:40
aucun résumé de modification
Ligne 11 :
Ligne 11 :
[[Fichier:Micropython-neotrellis-wiring-01.jpg]]
[[Fichier:Micropython-neotrellis-wiring-01.jpg]]
−
You will have to create an
instance
of the
I2C
bus to communicates with the
NeoTrellis.
+
Il sera nécessaire de créer une
instance
du bus
I2C
pour communiquer avec
NeoTrellis.
−
According to the schematic here upper
,
you will use
:
+
Conformément au schéma ci-dessus
,
nous utiliserons
:
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
from machine import I2C, Pin
from machine import I2C, Pin
−
i2c = I2C( 1, sda=Pin.board.GP6, scl=Pin.board.GP7 )
i2c = I2C( 1, sda=Pin.board.GP6, scl=Pin.board.GP7 )
</syntaxhighlight>
</syntaxhighlight>
Admin
Bureaucrates
,
Administrateurs
32 920
modifications
Menu de navigation
Outils personnels
Se connecter
Espaces de noms
Page
Discussion
Variantes
Affichages
Lire
Voir le texte source
Voir l’historique
Plus
Rechercher
Navigation
ARDUINO
RASPBERRY-PI
[:: PI Hacking ::]
Particle.IO
Micro Python
Imprimante 3D
Actualités
Modifications récentes
Page au hasard
Aide
Outils
Pages spéciales
Version imprimable