Hi Pedro,
What Charles said is proper for HSERIN and HSEROUT, I have a little program I use to test serial LCD units using SEROUT and it works for several baudrates, here is a sample of the code.
each output having a different baudrate.Code:SEROUT PortB.7,N2400,[254,128,"2400 baud line 1~"]'inverted pause 100 serout PortB.6,N9600,[254,128,"9600 baud line 1~"] '128 so as not to add space pause 100 SEROUT PortB.5,T2400,[254,128,"2400 baud line 1~"]'true pause 100 serout PortB.4,T9600,[254,128,"9600 baud line 1~"] '128 so as not to add space pause 1000
JS




Bookmarks