hellow everyone,
i want to send a number of words (strings) to a serial port, but when simulating the design on proteus isis,the virtual terminal to display the strings (words) of the serial port,displays words (strings) which i did not send...any help please..
code:
simulation attached:Code:define OSC 20 trisb=$F8 DEFINE HSER_RCSTA 90h DEFINE HSER_TXSTA 20h DEFINE HSER_BAUD 2400 DEFINE HSER_SPBRG 25 main: portb=0 if portb.3=1 then HSEROUT ["door" ,10,13] pause 200 HSEROUT ["opened" ,10,13,10,13] pause 200 endif goto main end






Bookmarks