diff options
author | sago35 <[email protected]> | 2023-07-03 08:43:00 +0900 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-07-03 11:44:44 +0200 |
commit | 6efa94035eda36f121dd6f22bff19daf346d3181 (patch) | |
tree | 9b8d91ffc08994518e97c5c0eeda4ce0007d5326 | |
parent | db8d80755f0f37ccba73b507a84918a88f2934a6 (diff) | |
download | tinygo-6efa94035eda36f121dd6f22bff19daf346d3181.tar.gz tinygo-6efa94035eda36f121dd6f22bff19daf346d3181.zip |
machine/macropad_rp2040: add machine.BUTTON
-rw-r--r-- | src/machine/board_macropad-rp2040.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/machine/board_macropad-rp2040.go b/src/machine/board_macropad-rp2040.go index 8b8f4a7c6..eca20f797 100644 --- a/src/machine/board_macropad-rp2040.go +++ b/src/machine/board_macropad-rp2040.go @@ -16,6 +16,7 @@ const ( const ( SWITCH = GPIO0 + BUTTON = GPIO0 KEY1 = GPIO1 KEY2 = GPIO2 |