Do you have your TX pin set for output (TRIS = 0)?
Do you have your TX pin set for output (TRIS = 0)?
Charles Linquist
i ADDed this after I sent the code yesterday.:
TRISB = %00000000
AND
the other pic:
TRISB =%11111111
could it be in the include file?
K
If you are talking about "modedefs.inc" no. You do not need that file for what you are doing so it is not doing any harm. It is for SERIN/SEROUT and a couple other commands.
Have you tried sending/receiving to a PC?
Dave
Always wear safety glasses while programming.
nO DID NOT SEND TO pc. Actually never done that in my life....
If you are using the hardware serial port (as I suggest), then the polarity will be wrong for a direct connection to a PC, so that won't work.
If you issue HSEROUT [...] and the port doesn't even toggle, then you have some other problem.
Charles Linquist
I can some steady activity on the HSEROUT port. Seems to me the receiving end is a problem. I used another picF88 chip in case it would be a hardwire pin problem, but still the LCD is not showing the input. I removed the First LCDOUT and juste the one after the HSERIN and the L:CD is showing blank...
Are you using HSERIN for the receive side?
Just do this -
LCDOUT $FE,$1
Topp:
HSERIN [X]
LCDOUT X
Goto Topp
Charles Linquist
Bookmarks