Compiling problem


Results 1 to 6 of 6

Threaded View

  1. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: Compiling problem

    Hi,

    Replace your @DEVICE ... lines by

    Code:
    ;----[12F629 Hardware Configuration]--------------------------------------------
    #IF __PROCESSOR__ = "12F629"
      #DEFINE MCU_FOUND 1
    #CONFIG
      __config  _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_OFF & _MCLRE_OFF & _BODEN_ON & _CP_OFF & _CPD_OFF
    #ENDCONFIG
    
    
    #ENDIF
    
    
    ;----[Verify Configs have been specified for Selected Processor]----------------
    ;       Note: Only include this routine once, after all #CONFIG blocks
    #IFNDEF MCU_FOUND
      #ERROR "No CONFIGs found for [" + __PROCESSOR__ +"]"
    #ENDIF
    and remember to place a

    Code:
    LOW Servoout
    just before each PULSOUT command

    BTW.

    "RCTIME" is " not so good " when reading a pot because of its huge non-linearity ... ( same for the POT command )
    would be much better to use the 12F675 ( or 12F1822/1840 ) ADC , here ...

    and overall have a look to that F... Manual ... @DEVICE is something I never saw with PBP ...

    " Galaxy 76 " ... French Guy living in the N.O. of France ???
    Last edited by Acetronics2; - 24th May 2025 at 11:40.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. Replies: 19
    Last Post: - 11th October 2013, 17:55
  2. Problem for compiling SDSF library.
    By Ziko87 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th August 2012, 08:17
  3. Problem compiling EasyHID code
    By mindthomas in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th August 2010, 20:46
  4. Replies: 14
    Last Post: - 31st March 2009, 12:04
  5. Problem with Compiling
    By tarexpanda in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th April 2007, 05:12

Members who have read this thread : 13

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