Electro-Poleas
Posts: 9
Joined: Wed Feb 18, 2015 7:32 pm
Location: Spain
Contact: Website

GPIO inputs and outputs

Sun Feb 22, 2015 2:13 pm

I have a simple question, it probably awnsers itself but I want to be clear about it.

Are all the GPIO pins (no power pins) able to be set as inputs or outputs? Despite of the labeling, such as TXD, RXD, CS0, CS1...

User avatar
joan
Posts: 14935
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: GPIO inputs and outputs

Sun Feb 22, 2015 2:37 pm

Yes.

hampi
Posts: 223
Joined: Fri May 31, 2013 11:29 am
Contact: Website

Re: GPIO inputs and outputs

Sun Feb 22, 2015 5:32 pm

This might be useful for the pullups and pulldowns using device tree:

https://github.com/fivdi/onoff/wiki/Ena ... spberry-Pi

Return to “Beginners”