SERIN2 and Proteus Simulation


Results 1 to 13 of 13

Threaded View

  1. #3
    uuq1's Avatar
    uuq1 Guest


    Did you find this post helpful? Yes | No

    Default

    I am using the following code for 16F877:

    serialInput var PORTB.1
    RX VAR BYTE[8]

    TRISB=%01000000 'Make PORTB Pin 1 as input

    start:
    pause 200
    PORTB=%11111111 'Just an indicator that the program has started
    pause 200
    serin2 serialInput, 396,[wait("+"),RX[0]]
    PORTB=%00000000
    pause 200

    goto start
    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