SERIN2 and Proteus Simulation


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    uuq1's Avatar
    uuq1 Guest


    Did you find this post helpful? Yes | No

    Question

    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?

  2. #2
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hello uuq1,

    What type of program opens a .dsn file that you included in the last zip file?

    Thanks!

    BobK

  3. #3
    uuq1's Avatar
    uuq1 Guest


    Did you find this post helpful? Yes | No

    Smile

    The .dsn file is a design file which is created and simulated by Proteus.

  4. #4
    Join Date
    Apr 2005
    Posts
    32


    Did you find this post helpful? Yes | No

    Default

    u can use like this

    SerIn2 pinin,baud,200,start,[WAIT("X"), STR tempStr\8\"Z"]

  5. #5
    uuq1's Avatar
    uuq1 Guest


    Did you find this post helpful? Yes | No

    Thumbs up

    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.
    Attached Files Attached Files

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts