08-09-2016, 03:30 PM
(08-09-2016, 02:30 PM)MarkHaysHarris777 Wrote: 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
http://forum.pine64.org/showthread.php?t...8#pid17268
(08-03-2016, 08:29 PM)MarkHaysHarris777 Wrote: hi Wolfenstein, when I code for a pull-up on an input pin ( I'm going to put a switch on it that pulls to ground ) then I leave it with the internal pull-up ( why use an additional component if not needed ).
Now you are confusing me.