From c45337d5d488048bea04c721fdea77b793791085 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Tue, 24 Aug 2021 22:13:52 +0100 Subject: [PATCH] Enable pullups for Arduino input pins as a default (to match GPIO Extender modules). --- IODevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IODevice.cpp b/IODevice.cpp index 43db2f6..f151923 100644 --- a/IODevice.cpp +++ b/IODevice.cpp @@ -292,7 +292,7 @@ ArduinoPins::ArduinoPins(VPIN firstVpin, int nPins) { _pinPullups = (uint8_t *)calloc(2, arrayLen); _pinModes = (&_pinPullups[0]) + arrayLen; for (int i=0; i