i have a problem with pic18f452 and uart i use simplest code like that:
UART1_Init(9600); // Initialize UART module at 9600 bps
Delay_ms(100); // Wait for UART module to stabilize
无论在哪里,
UART1_Write_Text("HELLO2");
Delay_ms(1000);
also i have in my hardware lcd module it works very fine but my received data on pc is a scrap like that
???m
i have checked all connection sothand time nothing wrong also i have changed MAX232 ic but with no luck ?! my hardware is like that
finall all my connections are ok (polarity and every thing else ?) EDIT : i use mikroc as a compiler