Fix bad sch

This commit is contained in:
ABelliqueux 2024-09-29 11:32:39 +02:00
parent ce064b5912
commit 0810d8e907
3 changed files with 12 additions and 10 deletions

View File

@ -38,9 +38,9 @@ buttons_gpio = {
# name GPIO Keycode_1 Keycode_2(ALT mode) State DigitalIO (switch)
"red" : dict(gpio=board.GP18, keycode_1=Keycode.DELETE, keycode_2=Keycode.E, state=False, DIO=None),
"green" : dict(gpio=board.GP19, keycode_1=Keycode.SPACEBAR, keycode_2=Keycode.RETURN, state=False, DIO=None),
"blue" : dict(gpio=board.GP16, keycode_1=Keycode.RIGHT_ARROW, keycode_2=Keycode.DOWN_ARROW, state=False, DIO=None),
"blue" : dict(gpio=board.GP16, keycode_1=Keycode.RIGHT_ARROW, keycode_2=Keycode.DOWN_ARROW,state=False, DIO=None),
"black" : dict(gpio=board.GP20, keycode_1=Keycode.ESCAPE, keycode_2=Keycode.R, state=False, DIO=None),
"yellow": dict(gpio=board.GP17, keycode_1=Keycode.LEFT_ARROW,keycode_2=Keycode.UP_ARROW,state=False, DIO=None),
"yellow": dict(gpio=board.GP17, keycode_1=Keycode.LEFT_ARROW, keycode_2=Keycode.UP_ARROW, state=False, DIO=None),
"switch": dict(gpio=board.GP21, keycode_1=None, keycode_2=None, state=False, DIO=None, switch_setup=dict(gpio=board.GP7, state=False, DIO=None))
}

BIN
picote.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

View File

@ -1,7 +1,8 @@
# picoti
![Outside](./picote-outside.jpg)
![Inside](./picote-inside.jpg)
<a href="./picote-outside.jpg"><img style="width:48%;float:left;" src="./picote-outside.jpg"/><a/>
<a href="./picote-outside.jpg"><img style="width:48%;float:left;clear:both;" src="./picote-inside.jpg"/><a/>
Utiliser un [raspberry pi pico](https://www.raspberrypi.com/products/raspberry-pi-pico/) et des bouttons d'arcade pour simuler des touches de clavier.
@ -15,6 +16,7 @@ Copier le fichier 'code.py' et le répertoire 'lib' à la base du pico.
* 5 bouttons poussoirs
* 1 switch ON/OFF avec une LED intégrée ou en supplément.
* 1 rsistance 330Ω
* 1 résistance 330Ω
![The crude diagram](./picote-s.jpg)
![Schématique](./picote.png)