XIAO Internal Pull-up Resistors

Very interesting. I never experienced any other issues when trying to use D2 with INPUT_PULLUP, but that’s because I just changed pins as soon as I found out it wouldn’t work. Since all the pins should have pullup functionalities, according to the chip’s specifications, I just assumed that maybe I had a small defect in my board. I guess that isn’t the case after all. Good to know!