Re: PIC16F88, PORTA strange behaviour
From: CBarn24050 (cbarn24050_at_aol.com)
Date: 12/02/04
- Next message: Anthony Fremont: "Re: PIC16F88, PORTA strange behaviour"
- Previous message: Robert Scott: "Re: PIC16F88, PORTA strange behaviour"
- In reply to: Frank Bemelman: "PIC16F88, PORTA strange behaviour"
- Next in thread: Paul Carpenter: "Re: PIC16F88, PORTA strange behaviour"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 02 Dec 2004 16:20:21 GMT
>Subject: PIC16F88, PORTA strange behaviour
>From: "Frank Bemelman" f.bemelmanx@xs4all.invalid.nl
>Date: 02/12/2004 13:17 GMT Standard Time
>Message-id: <41af158c$0$566$e4fe514c@news.xs4all.nl>
>
>Strange problem:
>
>Setting an output low on PORTA, causes another output
>on PORTA to go low too.
>
>Below is the entire program. It should generate two signals:
>
>---, ,---, ,---, ,---, ,---
> '---' '---' '---' '---'
>-, ,---, ,---, ,---, ,---
> '- -' '---' '---' '---'
>
>But instead gives this:
>
>-, ,-, ,-, ,-, ,-
> '-----' '-----' '-----' '-----'
>-, ,---, ,---, ,---, ,---
> '- -' '---' '---' '---'
>
your program looks like it should work, you should not use the tris instruction
anymore though.I haven't checked the data*** some pics use porta for ad
conversion check that you have set the pins to digital. Your reading the port
pins very soon after changing them if there is too much load its possible that
theyy havent had time to settle.
- Next message: Anthony Fremont: "Re: PIC16F88, PORTA strange behaviour"
- Previous message: Robert Scott: "Re: PIC16F88, PORTA strange behaviour"
- In reply to: Frank Bemelman: "PIC16F88, PORTA strange behaviour"
- Next in thread: Paul Carpenter: "Re: PIC16F88, PORTA strange behaviour"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]