12f675_fuse_about_to_blow!


Results 1 to 40 of 929

Threaded View

  1. #11
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default Re: 12f675_fuse_about_to_blow!

    Hi mackrackit

    Yes, I told you to use DISABLE-ENABLE-RESUME... I thought you were playing with ONINTERUPPT.
    I did and I am still hoping to get it working: Post #893 above has ON INTERRUPT -DISABLE-ENABLE-RESUME in the code.

    Thanks for the TX program, I had to change:

    Code:
    @DEVICEPIC12F675,MCLR_OFF,INTRC_OSC_NOCLKOUT,WDT_OFF,BOD_OFF
    @ DEVICE PWRT_ON,PROTECT_OFF
    To:

    Code:
    @ __config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_OFF & _CP_OFF & _BODEN_OFF & _PWRTE_ON
    To make the program compile, are the above changes ok?

    So what happened when I ran it? Well the RFEN led lit for five seconds immediately either button was pressed but nothing was transmitted. I then commented out the delay loop, the RFEN led lit when buttons pressed then went off when button released - still no data sent.

    I see where you're coming from with the IF - THEN with the program then going onto the ENDIF statement.

    I made a small change adding:

    Code:
    IF (GPIO.3=1) AND (GPIO.4=1) THEN goto   Main
     if (GPIO.3=0) OR (GPIO.4=0) THEN 'Look for ENDIF
    The result was the RFEN led lit for five seconds immediately either button was pressed but nothing was transmitted (as before) however, when the delay loop was commented out data was trnsmitted.

    It seems to me that the delay loop is killing the data transfer. What do you think?

    But first you may want to try Bruce's code as he wrote it to make sure your hardware is working correctly.
    I've saved Bruce's original code as Tx - Rx Master, works a treat.

    Dave
    Last edited by LEDave; - 12th May 2011 at 21:38.

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