works ok in simulator, apart from initial sync issue due to the comms line not beginning at a proper tty level before reception enabled
and then again i used complete programs not snippets full of...
The 22K is used ONLY when you are driving the INPUT of the PIC from a real RS232 line, which does -12 to +12 Volts on the pulses!
No need to have it on TTL connection as in your case. Remove it.
...
Both 1K and 22K are actually suggested in PBP manual.
So I tried both, I tried 100 ohm resistor, I tried direct connection. No practical difference - actual "junk" bytes are getting different, but...
Why 22k? It seems pretty high to have. Your post suggests you've tried a lower value like 1K; if both PICs are running at the same voltage levels, then altogether do away with the resistor. Due to...
Jerson Today, 03:07How about this code:
x vart word
x=345
barka:
serout2 portc.3,84,["s",x]
pause 100
goto barka
Less code usage. If for some reason you need Serin, it may hang if the device is not replying correctly. Hserin has timout and will save the day.
For your project it may not have any meaning, but...
Hello,
you're right
my assumption was that software or hardware control serial communication are the same
and one way or another I'll get the same result.
if I may ask in this project what...
if I reduce control values to 1 or two, then it works, but totally wrong data is being decoded.
CuriousOne Yesterday, 06:07I just tried this code, and it does not work:
TX:
Main:
FOR TxValue = 0 TO 255
Re: serial LCD 1602 Backpack using PIC16F690 for Hitach HD44780
doubtful there is any since the 690 does nothing else anyway and the lcd's speed is the real bottle neck
richard Today, 07:27