Main Site Documentation

What is the purpose of the "GPIO!" pin?


#1

Is someone can be kind enough to elaborate and give an example of this pin usage?
Thanks ahead?


#2

The exclamation means that it is an interrupt capable pin. This simply means that the hardware can directly fire an event w/o the system having to poll for its value. So, if you want some code to run when a button is pushed, then this is the best pin to wire the button to.


#3

So what is the meaning of “the pull-up is switchable and in the range of 10,000 to 100,000 ohms” ?

(Thanks ahead…)


#4

it means you can choose to enable the internal pullup resistor on the pin, and if you do it’s in the order of 10k to 100k ohms.


#5

@ bioengproject - If asking a very basic question about pull up resistors, such as “what is a pull up resistor”, then reading the document about digital inputs might help.

https://www.ghielectronics.com/docs/5/digital-inputs


#6

Thank you all.