08-09-2016, 02:30 PM
(This post was last modified: 08-09-2016, 02:35 PM by MarkHaysHarris777.)
You will need to provide an external pull-up resistor 4.7k to 3v3...
...that will give you '1' unless you ground the pin (on the pin side of the 4.7k resistor.
Or, you can define the input as having a pull-up and then the pull-up will be internal.
PS you can experiment with 'strong' or 'weak' pull-up resistors, anything from 1k to 10k, the higher the number, the weaker the pull-up.
PSS I too will experiment with pin(3) GPIO02 as input... on debian... will get back to you soon
...that will give you '1' unless you ground the pin (on the pin side of the 4.7k resistor.
Or, you can define the input as having a pull-up and then the pull-up will be internal.
PS you can experiment with 'strong' or 'weak' pull-up resistors, anything from 1k to 10k, the higher the number, the weaker the pull-up.
PSS I too will experiment with pin(3) GPIO02 as input... on debian... will get back to you soon
marcushh777
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )

please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )