12f675_fuse_about_to_blow!


Results 1 to 40 of 929

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    Hi mackrackit,

    Sorry for the late reply, Sunday is 'family' day(say no more!).

    Did my code work on your PicKit1 board?
    I did find a couple 684s in the bottom of a drawer. Once the pins were straightned out they worked in the test board. But I had to program them with a PicKit2 The PicKit1 kept giving an error?
    I had some errors on Compiling the first program, so had a hunt around looking for Configuration_Fuse info (found this page:http://www.picbasic.co.uk/forum/showthread.php?t=543)

    So changed your code to this for the 684:

    Code:
     DEFINE OSC 4
    
    CMCON0 - from CMON
     
      @DEVICE_INTRC_OSC_NOCLKOUT 
      @DEVICE_WDT_ON
      @DEVICE_MCLRE_OFF 
      @DEVICE_CP_OFF
    The program compiled and ran a treat. What happens is that when a Voltage of 2.5V appears on PORTA.0 (pin13 on the 684) the LED's on D0-D3 light in turn on after the other. If the Voltage drops below 2.5V they turn off. How does that sound.

    Dave
    Last edited by LEDave; - 1st August 2010 at 19:25.

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