Do I need a pause?


Results 1 to 22 of 22

Threaded View

  1. #1

    Default Do I need a pause?

    Hello,
    while sending data from pic to pic (16F628A) through an rf link,Linx rxm-418-lc modules, all but one thing is working good. I have also done a hard wired connection from pic to pic with the same problem. I am using the checksum that Bruce recommended and I am using manchester. I am making an output on portb come on with the button pressed and with the button on the tx released it goes off. However, frequently an output stays on. Press the button again and it will clear. This is the clip from my program:

    IF mydata1=%01011001 THEN PAUSE 10
    IF mydata1=%01011001 THEN
    HIGH 1
    ELSE
    LOW 1
    ENDIF

    goto loop

    I added a PAUSE 50 after LOW 1 but no change.

    When I go back to the main loop I've added mydata1=%00000000 before going to the SERIN to make sure that the previously received mydata1 is clear instead of using CLEAR although I've tried that to.

    Does anyone have any suggestions?

    By the way, I have checked the tx side to make sure the button was closed, even listened to the datastream on my service monitor.
    Last edited by tazntex; - 20th August 2008 at 03:28.

Similar Threads

  1. Delayed output 10 secs
    By lilimike in forum mel PIC BASIC Pro
    Replies: 37
    Last Post: - 14th October 2011, 06:28
  2. Old and beyond help ?
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 11th December 2008, 15:23
  3. Replies: 11
    Last Post: - 12th July 2008, 02:36
  4. Fade out LEDs question
    By Sam in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 22nd June 2008, 10:50
  5. Help Quick Need to make code smaller
    By Programmednew in forum mel PIC BASIC Pro
    Replies: 41
    Last Post: - 25th January 2005, 03:46

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