Différences entre versions de « P2E-THEREMIN »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 33 : Ligne 33 :
 
<syntaxhighlight lang="python" line>
 
<syntaxhighlight lang="python" line>
 
import micropython, time
 
import micropython, time
 
+
from random import randint
 
</syntaxhighlight>
 
</syntaxhighlight>
from random import randint
 

Version du 5 avril 2025 à 14:56

Page-under-construction.pngPage(s) en cours de traduction/élaboration.

Page(s) under translation/construction

Theremin

L'idée

A propos de la Photo-résistance

xxx

Brancher

Pico Pico-2-Explorer
GP16 Btn3
GP27 Photo-résistance

xxx

P2E-THEREMIN-wiring-00.jpg

Code

Le script theremin.py est disponible dans le dépôt dédié au Pico-2-Explorer.

1 import micropython, time
2 from random import randint