View previous topic :: View next topic |
Author |
Message |
LIAN Guest
|
printf("OK"); |
Posted: Fri Apr 06, 2007 2:26 am |
|
|
printf(lcd_putc, "OK")---we can see "OK" in LCD
printf("OK");------where can we see "OK"? |
|
|
libor
Joined: 14 Dec 2004 Posts: 288 Location: Hungary
|
|
Posted: Fri Apr 06, 2007 3:04 am |
|
|
on the serial port, that you have initialized with #use rs232... command previously. |
|
|
LIAN Guest
|
but still |
Posted: Fri Apr 06, 2007 3:17 am |
|
|
I have done printf("OK"); but I have gotten <-Åþ>
but not <OK>. I use <Free>, is there sth to configure? |
|
|
Ttelmah Guest
|
|
Posted: Fri Apr 06, 2007 7:14 am |
|
|
The #use delay line, must match the clock source being used by the processor, and the right hardware connections (level translators/inverters) are needed.
Best Wishes |
|
|
noname Guest
|
|
Posted: Sat Apr 07, 2007 2:59 am |
|
|
Also make sure you have the correct baudrate. |
|
|
rnielsen
Joined: 23 Sep 2003 Posts: 852 Location: Utah
|
|
Posted: Mon Apr 09, 2007 8:39 am |
|
|
Make sure the 'bits' in the #use rs232() is set to the same as your terminal program. This has bit me a few times (no pun intended) when the wizzard stuck bits=9 in it when I actually use 8 bits in my terminal setup.
Ronald |
|
|
LIAN Guest
|
thank you for your replay |
Posted: Mon Apr 09, 2007 2:14 pm |
|
|
thank you, i will try it and then tell your the result |
|
|
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
|
|