I don't understand what your problem is. The oscilloscope says the pin is low. gpio_get() also reports that it is low.The pin appears to be always low on the oscilloscope. Using gpio_get I always get a 0.
Yes, you just need to switch the direction. You may or may not want to futz with the pulls (up or down) for input depending on application.
Statistics: Posted by DrDnar — Wed Jan 24, 2024 7:23 am