Skip to content

Commit 975b127

Browse files
Charly-sketchnedseb
authored andcommitted
fix(mcp23009e): replace wrong pin in dpad piano example
1 parent 1888d82 commit 975b127

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

lib/mcp23009e/examples/dpad_piano.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from mcp23009e import MCP23009E
1717
from mcp23009e.const import *
1818

19-
SPEAKER = Pin("SPEAKER", Pin.OUT_PP)
19+
SPEAKER = Pin("SPEAKER", Pin.OUT)
2020

2121
# I2C and expander setup
2222
i2c = I2C(1)
@@ -31,9 +31,6 @@
3131
MCP23009_BTN_LEFT: "LEFT",
3232
}
3333

34-
# Optional MENU button if available on the board
35-
MENU_BUTTON = None
36-
3734
# Low octave
3835
NOTES_LOW = {
3936
"UP": 262, # C4

0 commit comments

Comments
 (0)