-->
Page 1 of 1

How to use GPIO0 and GPIO15 as Input / Output

PostPosted: Tue Feb 23, 2016 8:15 am
by Stévanovich
Hi,
I would like to know if it is possible to use GPIO0 and GPIO15 for input or/and Output ?
Also twice is possible ?

Is there a drawing example with resistor value ? ;)

Thanks for help

Re: How to use GPIO0 and GPIO15 as Input / Output

PostPosted: Tue Feb 23, 2016 9:54 am
by martinayotte
As long as GPIO0 is HIGH and GPIO15 is LOW during power-up and/or reset, you can use those pins for either input or output after boot sequence.
So, for exemple, you can attach a LED anode on GPIO15, cathode to GND thru resistor.
But doing the same on GPIO0 won't work because it is acting as a pull down to GND, in such case the LED cathode can be attached to GPIO0 and the anode to VCC thru resistor, it will then work, but states will be inverted, meaning that LOW will turn on the LED while HIGH will make it turn off.

Re: How to use GPIO0 and GPIO15 as Input / Output

PostPosted: Tue Feb 23, 2016 1:20 pm
by Stévanovich
martinayotte wrote:..., but states will be inverted, meaning that LOW will turn on the LED while HIGH will make it turn off.

Thanks Martin.
I will try as soon as possible and post what i get.
Best regards