How to use the weak pull up on this chip?
From the data sheet there is a GPWU bit in the OPTION reg.
But the command port_x_pullups won't work?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Wed Jun 02, 2010 1:10 pm
Use the set_options() function to do this. The link below shows the
macro for that function. For the function parameter, use the value that
you want to set the OPTION register to. Look in the 10F222 data sheet
for a description of the bits in the OPTION register.
http://www.ccsinfo.com/forum/viewtopic.php?t=42414&start=2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum