From 4c1658a3c6354e519d824c5e334a789a68bb64b2 Mon Sep 17 00:00:00 2001 From: Oliver Parczyk Date: Sat, 16 Dec 2023 11:57:52 +0100 Subject: [PATCH] Fix pinmode of self driving pins --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 402d629..319a2be 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -98,7 +98,7 @@ void setup() { // Set all in- and outputs for (uint8_t i = 0; i < KEY_GROUP_NUM; i++) { pinMode(group_pins[i], INPUT); - pinMode(self_drive_pins[i], INPUT); + pinMode(self_drive_pins[i], OUTPUT); } for (uint8_t i = 0; i < KEY_PINS; i++) { pinMode(key_pins[i], INPUT);