Différences entre versions de « P2E-THEREMIN »
Sauter à la navigation
Sauter à la recherche
(→Code) |
|||
Ligne 33 : | Ligne 33 : | ||
<syntaxhighlight lang="python" line> | <syntaxhighlight lang="python" line> | ||
import micropython, time | import micropython, time | ||
− | + | from random import randint | |
</syntaxhighlight> | </syntaxhighlight> | ||
− |
Version du 5 avril 2025 à 14:56
Theremin
L'idée
A propos de la Photo-résistance
xxx
Brancher
Pico | Pico-2-Explorer |
GP16 | Btn3 |
GP27 | Photo-résistance |
xxx
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