Raspberry Pi Zero and Feather OLED 164x32

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
sunnyhd
 
Posts: 7
Joined: Tue Mar 14, 2006 11:42 pm

Raspberry Pi Zero and Feather OLED 164x32

Post by sunnyhd »

I got the Feather OLED to work as a 12C device on the RaspBerry PI zero. It actually works great and there is barely a noticeable lag. I am trying to figure out if I can get the buttons on the OLED to work. I wired them up but for some reason the GPIO pins (using pins 5, 6, 13) are always low. Do I need a pull-up resistor to get the values of the pressed switches to stick? And if yes what size?

I would have tried this out if I had a resistors but before I go buy them wanted to confirm I am going down the right path.

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Raspberry Pi Zero and Feather OLED 164x32

Post by adafruit_support_mike »

The RasPi's GPIO pins have built-in pull up resistors that you can enable. The code to do it varies from one language to another, but should be mentioned in any documentation that tells how to set the pins up as inputs or outputs.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”