mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 11:07:46 +00:00
machine/macropad_rp2040: add machine.BUTTON
This commit is contained in:
@@ -16,6 +16,7 @@ const (
|
||||
|
||||
const (
|
||||
SWITCH = GPIO0
|
||||
BUTTON = GPIO0
|
||||
|
||||
KEY1 = GPIO1
|
||||
KEY2 = GPIO2
|
||||
|
||||
Reference in New Issue
Block a user