Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4906

General • Re: Bidirectional GPIO

$
0
0
The pin appears to be always low on the oscilloscope. Using gpio_get I always get a 0.
I don't understand what your problem is. The oscilloscope says the pin is low. gpio_get() also reports that it is low.

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



Viewing all articles
Browse latest Browse all 4906

Trending Articles