display received data


Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    May 2010
    Posts
    21

    Default display received data

    hi,
    i'm currently working on a project dealing with PIC16f886,xbee and also LCD. the problem is, i need to display my data received from a sensor node in lcd. here i provide u with the TX and RX code.

    TX code:
    Code:
    @ device hs_osc
    define OSC 20
    dta var word
    dta=83
    main:
    High PORTB.0
    pause 50
    serout2 PORTB.1, 84, ["A",dta]
    low portB.0
    Pause 50
    goto main
    end
    RX code:
    Code:
    @ device hs_osc
    define osc 20
    dta var word
    main:
    high portb.0
    pause 50
    serin2 portc.7,84,[wait("A"),dta]
    pause 50
    serout2 portc.6,16468,[dta]
    low portb.0
    pause 50
    goto main
    from the above code, how can i display the characterS to LCD?

    tq
    Last edited by NURULHAIZA; - 11th May 2010 at 10:00.

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