Modifications
Sauter à la navigation
Sauter à la recherche
← Modification précédente
Modification suivante →
ENG-CANSAT-PICO-HowTo
(voir la source)
Version du 25 février 2022 à 00:12
130 octets ajoutés
,
25 février 2022 à 00:12
→I2C Bus
Ligne 171 :
Ligne 171 :
[[Fichier:ENG-CANSAT-FEATHER-PICO-I2C.png|640px]]
[[Fichier:ENG-CANSAT-FEATHER-PICO-I2C.png|640px]]
−
The Pico do have several I2C bus as [[ENG-CANSAT-PICO-USER-GUIDE|mentionned on the PinOut diagram]]. We do highly recommend to use the I2C bus
+
The Pico do have several I2C bus as [[ENG-CANSAT-PICO-USER-GUIDE|mentionned on the PinOut diagram]].
+
+
{{ambox|text=
We do highly recommend to use the I2C
(1)
bus
as it is connected to Qwiic connector and UEXT connector.}}
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
−
from machine import
Pin
+
from machine import
I2C
−
x
+
−
x
+
i2c = I2C( 1 ) # Add freq=100000 to reduce speed @ 100 KHz
−
x
−
x
</syntaxhighlight>
</syntaxhighlight>
Admin
Bureaucrates
,
Administrateurs
29 917
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