* En langage **MicroPython** sur Raspberry Pi Pico et ESP32
* En langage **MicroPython** sur Raspberry Pi Pico et ESP32
-
<tabs>
-
* [[#tab-uno_3|Arduino Uno]]
-
* [[#tab-pico_3|RPi Pico]]
-
* [[#tab-esp32_3|ESP32]]
-
<pane id="tab-uno_3">
+
<nav type="pills">
-
//a. Présentation// \\
+
* [[#tab-unor3_5|Arduino UNO R3]]
-
Toutes les broches d'E/S de la carte Arduino Uno peuvent servir d'entrées, sorties numériques. Cela inclut les broches numérotées entre **0** et **13**, mais aussi les broches **A0** à** A5**. Le symbole **~** identifie les broches capables de délivrer un signal numérique **PWM** (**P**ulse **W**ith **M**odulation). \\ \\
+
* [[#tab-rpipico_5|Rpi pico & picoW]]
+
* [[#tab-esp32_5|ESP32]]
+
+
<pane id="tab-unor3_5">
+
* //a. Présentation// \\ Toutes les broches d'E/S de la carte Arduino Uno peuvent servir d'entrées, sorties numériques. Cela inclut les broches numérotées entre **0** et **13**, mais aussi les broches **A0** à** A5**. Le symbole **~** identifie les broches capables de délivrer un signal numérique **PWM** (**P**ulse **W**ith **M**odulation). \\ \\
{{ :microc:unogpio.png?nolink |}}
{{ :microc:unogpio.png?nolink |}}
Ligne 445:
Ligne 445:
-
//b. Configuration d'une broche en entrée// \\
+
* //b. Configuration d'une broche en entrée// \\
-
* **Ressource** : <html><a href="https://www.arduino.cc/reference/en/language/functions/digital-io/pinmode/" target="_blank">pinMode()</a></html> sur le site <html><a href="https://www.arduino.cc/" target="_blank">arduino.cc</a></html>
+
* **Ressource** : <html><a href="https://www.arduino.cc/reference/en/language/functions/digital-io/pinmode/" target="_blank">pinMode()</a></html> sur le site <html><a href="https://www.arduino.cc/" target="_blank">arduino.cc</a></html>
<callout type="tip" icon="true" title="CONFIGURATION">**Configurer** une broche signifie qu'on précise qu'elle doit se comporter soit comme une **entrée d'information**, soit comme une sortie d'information.</callout>
<callout type="tip" icon="true" title="CONFIGURATION">**Configurer** une broche signifie qu'on précise qu'elle doit se comporter soit comme une **entrée d'information**, soit comme une sortie d'information.</callout>
* <html><a href="https://docs.micropython.org/en/latest/rp2/quickref.html#pins-and-gpio" target="_blank">Quick reference for the RP2, Pins and GPIO </a></html>
* <html><a href="https://docs.micropython.org/en/latest/rp2/quickref.html#pins-and-gpio" target="_blank">Quick reference for the RP2, Pins and GPIO </a></html>
-
//b. Configuration d'une broche en en entrée// \\
+
* //b. Configuration d'une broche en en entrée// \\
-
//c. Lecture de l'état logique sur une broche// \\
+
-
//d. Synthèse: ?.cpp//
+
* //c. Lecture de l'état logique sur une broche// \\
* <html><a href="https://docs.micropython.org/en/latest/esp32/quickref.html#pins-and-gpio" target="_blank">Quick reference for the ESP32, Pins and GPIO</a></html>
* <html><a href="https://docs.micropython.org/en/latest/esp32/quickref.html#pins-and-gpio" target="_blank">Quick reference for the ESP32, Pins and GPIO</a></html>
-
//b. Configuration d'une broche en en entrée// \\
+
* //b. Configuration d'une broche en en entrée// \\
-
//c. Lecture de l'état logique sur une broche// \\
+
* //c. Lecture de l'état logique sur une broche// \\
-
//d. Synthèse: ?.cpp//
+
* //d. Synthèse: ?.cpp//
//Exemple de code pour un **ESP32 Feather Huzzah**//
//Exemple de code pour un **ESP32 Feather Huzzah**//