From d92217cf68cb97a4627a661322af6cb1ca403ef5 Mon Sep 17 00:00:00 2001 From: Mathias Kende Date: Mon, 4 Apr 2022 22:27:18 +0200 Subject: [PATCH] Do not blank out the value read for pins PA30 and PA31. --- adafruit_seesaw/seesaw.py | 1 - 1 file changed, 1 deletion(-) diff --git a/adafruit_seesaw/seesaw.py b/adafruit_seesaw/seesaw.py index 79dffc1..2227d74 100644 --- a/adafruit_seesaw/seesaw.py +++ b/adafruit_seesaw/seesaw.py @@ -214,7 +214,6 @@ def digital_read_bulk(self, pins, delay=0.008): """Get the values of all the pins on the 'A' port as a bitmask""" buf = bytearray(4) self.read(_GPIO_BASE, _GPIO_BULK, buf, delay=delay) - buf[0] = buf[0] & 0x3F ret = struct.unpack(">I", buf)[0] return ret & pins