Update:
9600 Baud and a 15 meter long cat5 cable and it still working whit this code and TTL level signals direct from the PIC.
counter is a long sized variable.Code:start: SEROUT2 lcdtx,84,[254,1] SEROUT2 lcdtx,84,[254,line1,dec counter," ROW1"] SEROUT2 lcdtx,84,[254,line2,dec counter," ROW2"] SEROUT2 lcdtx,84,[254,line3,dec counter," ROW3"] SEROUT2 lcdtx,84,[254,line4,dec counter," ROW4"] pause 500 goto start
Bookmarks