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.
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
this is what I have now. the tiny rail of the breadboard seems to be defective, although I tested it with my multimeter and it seems to be conducting, but then if I put the wire from the transmitting pic directly to the receiving chip leg then I could see something on the LCD. that fixed. I am sending 5 or 22 or 85 from the TX pic and I am always receiving 49 on the RX chip....
Mainloop:
Pause 50
Hserin [encoded22]
PAUSE 100
lcdout $FE,1, "input ", bin encoded22
pause 200
goto Mainloop
end
I removed the defines commands for HSERIN, ans used the serout command. It WORKS !!!. But i would like to make the HSEROUT AND HSERIN command works. I still get the number 48 or 49 showing up. sometimes after a minute or so the LCD shows some erratic behaviour, showing a lot oo???oo?? on both of the line.....
any ideas?
k
i CHANGES BREADBOARD, USED BRAND NEW CHIPS, STILL i AM GETTING 49 IN THE RECEIVING PIC................ANY IDEAS ???? OUPS CAPS LOCK...
Ken
Bookmarks