Skip to content

Commit c6377ec

Browse files
committed
fixing analog pins not working as digital input
1 parent dd8dee5 commit c6377ec

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

logic-editor/src/App.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -283,14 +283,14 @@ const boards = {
283283
{ pin: 13, label: 'D13/LED' },
284284
],
285285
analog: [
286-
{ pin: 'A0', label: 'A0' },
287-
{ pin: 'A1', label: 'A1' },
288-
{ pin: 'A2', label: 'A2' },
289-
{ pin: 'A3', label: 'A3' },
290-
{ pin: 'A4', label: 'A4/SDA' },
291-
{ pin: 'A5', label: 'A5/SCL' },
292-
{ pin: 'A6', label: 'A6' },
293-
{ pin: 'A7', label: 'A7' },
286+
{ pin: 14, label: 'A0' },
287+
{ pin: 15, label: 'A1' },
288+
{ pin: 16, label: 'A2' },
289+
{ pin: 17, label: 'A3' },
290+
{ pin: 18, label: 'A4/SDA' },
291+
{ pin: 19, label: 'A5/SCL' },
292+
{ pin: 20, label: 'A6' },
293+
{ pin: 21, label: 'A7' },
294294
],
295295
},
296296
};

0 commit comments

Comments
 (0)