RoProe
Joined: 03 Mar 2005 Posts: 6
|
Debugger Output with wrong characters |
Posted: Mon Mar 21, 2005 10:26 am |
|
|
Hello,
i use the following code
Code: | #include <18F4620.h>
//***** Compilersettings
//******************************************************************************
#case
#fuses HS,NOWDT,NOPUT,NOPROTECT,BORV21,NOBROWNOUT,NOLVP,DEBUG,MCLR,NOPBADEN
#use delay (clock=10000000)
#use RS232(DEBUGGER)
void main( void )
{
BYTE temp;
disable_interrupts (GLOBAL);
for(temp = 10;temp;temp--)
{
putc('a');
delay_ms(1000);
}
for(temp = 10;temp;temp--)
{
printf("Hello\r\n");
delay_ms(1000);
}
} |
But i get the following print:
aaaaaaaaaa"=)("?=()"=)("=)("=)("=)("?/)"=)/
I use the pic with Crystal 10MHz and the ICD-U40.
Robert |
|