Pull Ups

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
tinker
Flowcode V4 User
Posts: 8
Joined: Mon Jul 02, 2007 9:35 am

Pull Ups

Post 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

User avatar
Steve
Matrix Staff
Posts: 3431
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

Hello Jane,

You need to enable these yourself in a C icon:

Code: Select all

option_reg &= 0x7F;

Post Reply