

I want to do communication test by simple test.
My environment is bellow.
uLCD-320pmd2 (installed uLCD-320-PMD2-uSD-Serial_rev2.pmmc)
Module and PIC are connected (Rx-1K-Tx, Tx-Rx,V-V,G-G,
Reset-free)
PIC TEST Code is below.
--------------------------------------------------------------
#include
#fuses HS,NOWDT,NOPROTECT,PUT,BROWNOUT,NOLVP
#use delay(CLOCK = 20000000)
#use rs232(BAUD = 9600, XMIT = PIN_C6, RCV = PIN_C7)
#define uOLED_DETECT_BAUDRATE 0x55
#define uOLED_CLEAR 0x45
void main()
{
delay_ms(800);
putc(uOLED_DETECT_BAUDRATE); // auto-detect baudrate
putc(uOLED_CLEAR); // Clear screen
if (kbhit ()) { getc (); }
while(1)
{
putc(0x41);
putc(0x00);
putc(0x01);
putc(0x18);
putc(0x24);
putc(0x42);
putc(0x81);
putc(0x81);
putc(0x42);
putc(0x24);
putc(0x18);
if (kbhit ()) { getc (); }
}
}
-----------------------------------------------------
Module and PIC power on , nothing change.
Just showed " 4D-system".
Please somebody help me. !!!
Comment