Problem on sending data on serial port


Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Feb 2011
    Posts
    37

    Default Problem on sending data on serial port

    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:
    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
    simulation attached:
    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