rsten Klose
> Reply-To:
> Date: Mon, 23 Feb 2009 22:17:19 +0200
> To:
> Conversation: [Sdcc-user] PIC18F4550 USART problems - a self contained example
> Subject: Re: [Sdcc-user] PIC18F4550 USART problems - a self contained example
>
>
>
> Hi,
>
> which PIC18F4550
}
> }
> }
>
> void main() {
> int i;
> OSCCON = 0x70;
>
> LED_TRIS = 0;
>
> INTCON = 0;
>
> INTCONbits.GIE = 1; // Enable all interrupts.
>
> INTCONbits.PEIE = 1; // Enable peripheral interrupts.
>
> stdio_init();
&g
___
From: Kustaa Nyholm [kustaa.nyh...@planmeca.com]
Sent: Sunday, February 22, 2009 9:28 PM
To: sdcc-user@lists.sourceforge.net
Subject: [Sdcc-user] PIC18F4550 USART problems
Hi,
I'm having problems with PIC18F4550 USART. I'm using the usart.h routines, with
i
Hi,
I'm having problems with PIC18F4550 USART. I'm using the usart.h routines, with
interrupts enabled for receiving.
I've got a PC that sends group of three bytes (0x55) through a serial port at
9600 baud with no pause between bytes and 100 msec between groups.
I have an *low* priority interr