Différences entre versions de « P2E-THEREMIN »
Sauter à la navigation
Sauter à la recherche
| Ligne 26 : | Ligne 26 : | ||
[[Fichier:P2E-THEREMIN-wiring-00.jpg|800px]] | [[Fichier:P2E-THEREMIN-wiring-00.jpg|800px]] | ||
| + | |||
| + | == Code == | ||
| + | |||
| + | Le script [https://github.com/mchobby/pico-2-explorer/blob/main/projects/theremin/theremin.py theremin.py] est disponible dans le [https://github.com/mchobby/pico-2-explorer dépôt dédié au Pico-2-Explorer]. | ||
| + | |||
| + | <syntaxhighlight lang="python" line> | ||
| + | import micropython, time | ||
| + | |||
| + | </syntaxhighlight> | ||
| + | from random import randint | ||
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
from random import randint
