The problem is solved with some minor modifications. Thanks again uludere72.
I am pasting the code and the design file for others, who may go through the same problem in future.
The problem is solved with some minor modifications. Thanks again uludere72.
I am pasting the code and the design file for others, who may go through the same problem in future.
Another problem in simulation is that the modifiers cant be used like the statement :
serin2 serialInput, 396,[WAIT("X"), DEC testWord, WAIT("Z")]
Any clue about the solution?
Hello uuq1,
What type of program opens a .dsn file that you included in the last zip file?
Thanks!
BobK
The .dsn file is a design file which is created and simulated by Proteus.
u can use like this
SerIn2 pinin,baud,200,start,[WAIT("X"), STR tempStr\8\"Z"]
Got the solution. The error was due to the settings of virtual terminal in Proteus.
I have added an LCD (in standard 4 bit mode) to display the data received.
The data being expected by the program is charachters sandwiched between charachters X & Z e.g. X45Z , X458Z etc
As described in the virtual terminal, the data received is in the form of ASCII charachters.
I have got alot of help from this forum, therefore am attaching the complete project with this thread to help the future comers of this forum.
Special Thanks to uludere72.
Bookmarks