Skip to content

Commit 5bed56c

Browse files
authored
Merge pull request #220 from adafruit/magtag-speaker
Correct Speaker pin for magtag
2 parents 50c879b + fbaf6e5 commit 5bed56c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

boards/magtag/definition.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,19 @@
100100
"dataType": "bool",
101101
"hasPWM": false,
102102
"direction": "OUTPUT"
103+
},
104+
{
105+
"name": "D17",
106+
"displayName": "Piezo Speaker (D17)",
107+
"hasPWM": true,
108+
"dataType": "bool",
109+
"direction": "OUTPUT"
103110
}
104111
],
105112
"analogPins": [
106113
{
107114
"name": "A17",
108-
"displayName": "Piezo Speaker (A0)",
115+
"displayName": "Piezo Speaker (D17)",
109116
"hasPWM": true,
110117
"dataType": "int16"
111118
},
@@ -142,4 +149,4 @@
142149
}
143150
]
144151
}
145-
}
152+
}

0 commit comments

Comments
 (0)