Micropython-neotrellis-wiring

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche

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.

 

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 )