Internal pull ups

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

Moderator: Benj

Post Reply
riveva
Flowcode V4 User
Posts: 6
Joined: Mon Feb 11, 2008 1:09 pm
Location: Finland

Internal pull ups

Post by riveva »

How can I disable internal pull ups in PORTA . Chip 16F88

Risto

Brendan
Posts: 243
Joined: Tue Nov 27, 2012 12:53 pm
Location: Cambridge, UK
Has thanked: 140 times
Been thanked: 118 times
Contact:

Re: Internal pull ups

Post by Brendan »

Hi.

There are no internal pull-ups on PORTA for the 16F88. They only exist on PORTB and are all off by default when you power-up. The pull-ups are only enabled when the port is configured as an input and you expressly set the applicable option register to enable them.

It sounds like something else is taking your port pins high... external pulls or driven high as outputs perhaps?


All the best,

Brendan

riveva
Flowcode V4 User
Posts: 6
Joined: Mon Feb 11, 2008 1:09 pm
Location: Finland

Re: Internal pull ups

Post by riveva »

I´ll try to say. Output states for PORTA and PORTB should be 0 and HiZ .Normally they are 0V and 5V and they both are active. I'd need 0V avtive and HiZ

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Internal pull ups

Post by Benj »

Hello,

To output a logic 0 to the port pin you can use the output icon in either port or bit mode depending on what you need to pull low.

To switch the pin to high impedance mode you can use the input icon again in port or bit mode.

Post Reply