code + url + keymap hinzugefügt

This commit is contained in:
Michael Grote 2021-08-25 09:45:46 +02:00
parent 831f31e862
commit 5dd89d820e
3 changed files with 23 additions and 0 deletions

16
code/code.py Normal file
View file

@ -0,0 +1,16 @@
import board
from keybow2040 import Keybow2040
# Set up Keybow
i2c = board.I2C()
keybow = Keybow2040(i2c)
keys = keybow.keys
# Use cyan as the colour.
rgb = (0, 255, 255)
while True:
# Always remember to call keybow.update() on every iteration of your loop!
keybow.update()
if keys[0].pressed

5
keymap.md Normal file
View file

@ -0,0 +1,5 @@
USB
3 7 11 15
2 6 10 14
1 5 9 13
0 4 8 12

2
urls.txt Normal file
View file

@ -0,0 +1,2 @@
https://github.com/pimoroni/keybow2040-circuitpython
https://learn.pimoroni.com/tutorial/hel/assembling-keybow-2040