Search found 1 match

by Stratocaster
Thu May 08, 2025 1:28 am
Forum: Hardware
Topic: PCF8575 I/O expander board Question about PULL-UPs
Replies: 2
Views: 1171

PCF8575 I/O expander board Question about PULL-UPs

Hi all,

I have simple sketch with a single button. See the image of the circuit diagram below. Also see the code below.

The problem: If I use pcf8575.pinMode(0, INPUT), the button never triggers. If I change it to INPUT_PULLUP, it works fine. see code below.

The code I am using is from the ...

Go to advanced search