'AW: [PIC:] Trouble with GP3 on 12F675'
|How can you do this? Datasheet says, that ALL inputs have pull ups except GPIO3?!?!?
Von: mit.edu [ piclist-bouncesmit.edu] Im Auftrag von piclist-bounces
Gesendet: Mittwoch, 3. August 2005 01:26
An: Microcontroller discussion list - Public.
Betreff: Re: [PIC:] Trouble with GP3 on 12F675
I suspect that is input only type of pin.
You still can try manipulate it by switching
pull ups on and off.
laura capaldi wrote:
> I've been struggling to figure out why I can set GP1, GP2, GP4 and GP5
without trouble but I can't get GP3 to set. Set meaning I can't get it to go
high and turn on an LED. I'm using a 12F675. I suspect it has something to
do with my config bits because MCLR is on GP3. Here's the simple program I
wrote. I'm hoping someone can help me spot my bug. Thanks.
> ; test1
> list p=12F675
> #include <p12f675.inc>
> __CONFIG _CP_OFF & _WDT_OFF & _BODEN_ON & _PWRTE_ON &
_INTRC_OSC_NOCLKOUT & _MCLRE_OFF & _CPD_OFF
At 04:55 AM 8/3/2005, Palmed GmbH wrote:
>How can you do this?
>Datasheet says, that ALL inputs have pull ups except GPIO3?!?!?
Dimitry is referring to a trick sometimes used with some of the earlier
8-pin parts. The 12c508 family *does* have a software controlled weak
pull-up option for pin GPIO3. Newer parts do not have this option.
Dwayne Reid <planet.eon.net> dwayner
Trinity Electronics Systems Ltd Edmonton, AB, CANADA
(780) 489-3199 voice (780) 487-6397 fax
Celebrating 21 years of Engineering Innovation (1984 - 2005)
.-. .-. .-. .-. .-. .-. .-. .-. .-. .-
`-' `-' `-' `-' `-' `-' `-' `-' `-'
Do NOT send unsolicited commercial email to this email address.
This message neither grants consent to receive unsolicited
commercial email nor is intended to solicit commercial email.
More... (looser matching)
- Last day of these posts
- In 2005
, 2006 only
- New search...