How to activate internal pull-up on a pin?
Rayman
Posts: 14,646
in Propeller 2
You can do this right?
Seems the USB mode does this automatically?
But, how to do this for regular pin I/O?
Seems the USB mode does this automatically?
But, how to do this for regular pin I/O?
Comments
You can still read the true input state back using the IN bit, despite it being an output
Thanks, I think I see this now.
Was hoping for a simpler fix converting P1 I2C code to P2.
Going to be more difficult that I thought...
EDIT: Fix up forum formatting issue
evanh has done a table,
https://forums.parallax.com/discussion/comment/1452036/#Comment_1452036
may not be the latest version ? updated from below.
There are many light-drive choices, so pick one and drive the output to give the HI or LOW pull direction.