So you haven’t published the code that worked for some time, yet.
As for digitalRead, see
https://www.arduino.cc/reference/en/language/functions/digital-io/digitalread/
a7
So you haven’t published the code that worked for some time, yet.
As for digitalRead, see
https://www.arduino.cc/reference/en/language/functions/digital-io/digitalread/
a7