Page 1 of 1

Pull Ups

Posted: Mon Jul 02, 2007 9:56 am
by tinker
Pull Ups
I am a new user and need some basic info.
If I choose a micro which boasts week pull up on one port for example 16F877 port B,
Do I have to poke register Option_reg bit 7 to turn on the pull ups?
Or will setting (in flowcode) the port bits as Input do this automatically?
cheers
jane

Posted: Mon Jul 02, 2007 9:59 am
by Steve
Hello Jane,

You need to enable these yourself in a C icon:

Code: Select all

option_reg &= 0x7F;