Dammit, what am I not doing?


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    New Hampshire, USA
    Posts
    107


    Did you find this post helpful? Yes | No

    Default

    I am a neofyte myself, but TRISIO has only 6 digits.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Peter,

    I do not have the 675 data in front of me, but I think GPIO.1 and GPIO.2 are analog.

    Alains code looks that way.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    Hi, Muddy

    movlw 7 ;COMP off
    movwf CMCON

    > That means
    CMCON = 7

    clrf ADCON0 ;ADC off "

    > means
    ADCON0 = 0

    bsf STATUS,RP0
    clrf ANSEL ;All pins are DIGITAL

    > means
    ANSEL = 0

    even kangaroos understand that !!!

    Alain
    ************************************************** ***********************
    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 " !!!
    *****************************************

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