Différences entre versions de « Micropython-neotrellis-wiring »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 10 : Ligne 10 :
  
 
[[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.
 +
 +
According to the schematic here upper, you will use:
 +
 +
<syntaxhighlight lang="python">
 +
from machine import I2C, Pin
 +
 +
i2c = I2C( 1, sda=Pin.board.GP6, scl=Pin.board.GP7 )
 +
</syntaxhighlight>

Version du 7 mars 2025 à 15:35

NeoTrellis et Pico

Voici comment brancher un NéoTrellis sur un Raspberry-Pi Pico.

Le brochage indique comment réaliser le raccordement à partir d'un connecteur JST-PH4 .

Vous pouvez également utiliser votre fer à souder et les connexions en bordure de carte pour réaliser vos raccordements.

Micropython-neotrellis-wiring-01.jpg

You will have to create an instance of the I2C bus to communicates with the NeoTrellis.

According to the schematic here upper, you will use:

from machine import I2C, Pin

i2c = I2C( 1, sda=Pin.board.GP6, scl=Pin.board.GP7 )