Outils pour utilisateurs

Outils du site


micropython

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
micropython [2020/02/24 16:25] – [Installation pour Linux] sergemicropython [2020/03/28 14:47] – [USB_VCP – USB virtual comm port] serge
Ligne 64: Ligne 64:
 **Communication entre la PyBoard et le PC en USB** **Communication entre la PyBoard et le PC en USB**
  
-  * [[http://docs.micropython.org/en/latest/library/pyb.USB_VCP.html|The USB_VCP]] allows creation of a stream-like object representing the USB virtual comm port. It can be used to read and write data over USB to the connected host.+  * [[http://docs.micropython.org/en/latest/library/pyb.USB_VCP.html|The USB_VCP]] allows creation of a stream-like object representing the **USB Virtual Comm Port**. It can be used to read and write data over USB to the connected host.
   * [[https://forum.micropython.org/viewtopic.php?f=2&t=423&sid=6c4720ea85f2112b42bab2971b57003f|Une discussion sur forum.micropython.org]]   * [[https://forum.micropython.org/viewtopic.php?f=2&t=423&sid=6c4720ea85f2112b42bab2971b57003f|Une discussion sur forum.micropython.org]]
  
Ligne 128: Ligne 128:
     data = datagram_to_dict(rcv)     data = datagram_to_dict(rcv)
 </code> </code>
 +
 +=== Entrée analogique pour capter un potentiomètre ===
 +  * https://micropython.fr/micropython/les_bases/entrees_analogiques
 +
 +Les broches analogiques sont: X1 à X8, X11, X12, Y11, Y12
 +
 +Les broches analogiques mesurent en 3.3V sur 12 bits (0-4095) soit une précision de 0,8 mV = 0.0008 V! 
  
 {{tag>micro_controleur python python3 sb}} {{tag>micro_controleur python python3 sb}}
 +
 +
 +
micropython.txt · Dernière modification : 2020/10/19 07:14 de serge