RF Module Qualifier, CRC?


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,405

    Default

    The Timer1 interrupt is just to exit the SERIN2 line and clear the decoder output pins if
    no data has been received before Timer1 times-out.

    Without the interrupt, it would just sit & spin on the SERIN2 line due to noise on the RF
    receivers data output pin.

    If data IS received, it drops to the next line after the SERIN2 and disables the timer until
    it's needed again.

    If you need to put certain values on PORTB or PORTA just use something like;

    movlw b'11000010' ; <-- value to place on port
    movwf PORTB ; <-- put it on the port

    Not much tougher than PORTB = %11000010 in PBP...;o)
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  2. #2

    Default

    Thanks Bruce,
    What I have is two outputs on PORTA, and eight outputs on PORTB, so if no data is received, or shall I say no valid data is received, then all of my outputs would then clear.


    Again, Thank you all for your help and support, especially for the education that I have received from you all.

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