> The following code works like a charm on a pic18f4550.
> Output on the serial port is "A6A6A6A6A6A6A6A".
>
> Now compiling exactly the same source code (or even using the hex-file for
> the 4550) for a pic18f4680 produces the following output:
> "A???A???AACAsA£A???A"
> The parameter '6' in tes
Hello,
Thank you for your reply.
However the --nooverlay does not help.
I've tried a different code:
uchar test_func(uchar x) {
return x+48;
}
void main(void) {
uchar i;
while(1) {
i = 48;
uart_writeByte('A');//'A' is sent
i = test_func(6); //SHOULD return 48+6
uart_writeByt
Georges Engelmann wrote:
> Now compiling exactly the same source code (or even using the hex-file
> for the 4550) for a pic18f4680 produces the following output:
> "A≥A„AACAsA£A”A"
> The parameter '6' in test_func is somehow not properly transmitted to
> the function?!
In a similar situation th