Page 1 of 1

arduino uno Internal_Pullup enable

Posted: Mon Nov 08, 2021 9:32 pm
by jancuaucamp
Good day,
Can someone please help me with code to enable internal pullup resistors on arduino uno in Flowcode.
I tried numerous different codes without success.
Thanks

Re: arduino uno Internal_Pullup enable

Posted: Mon Nov 08, 2021 10:11 pm
by medelec35
Hi jancuaucamp.
The easiest way is to set the input you want the weak pullup on, to an output high.
Then change it back to an input.
The weak pullup should then be enabled.

Re: arduino uno Internal_Pullup enable

Posted: Tue Nov 09, 2021 6:48 am
by mnfisher
There is a macro at

https://www.flowcode.co.uk/forums/viewt ... lit=pullup
that does the job too...

Martin