18F14K50, PORT C as outputs


Closed Thread
Results 1 to 17 of 17

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Posts
    57


    Did you find this post helpful? Yes | No

    Default Re: 18F14K50, PORT C as outputs

    Isn't that what I am doing with ANSEL and ANSELH ? Or am I still missing something?

  2. #2
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: 18F14K50, PORT C as outputs

    This is register values that I used to turn off all analog stuff.
    Code:
            REFCON0=0
            REFCON1=0
            ADCON1=0
            ADCON2=0
            ANSEL =0           
            ANSELH=0
            CM1CON0=0
            CM2CON0=0
            SRCON0=0
            SRCON1=0
            WPUA=0
            WPUB=0

Similar Threads

  1. 18f14k50 low speed
    By mpardinho in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 21st May 2013, 18:20
  2. Hello World help please 18F14K50 config
    By Bonxy in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 4th August 2011, 17:35
  3. Replies: 2
    Last Post: - 22nd January 2011, 01:58
  4. 18F2520 - problem configuring fuse for port B as digital port.
    By hwhisperer in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th October 2010, 11:41
  5. Replies: 3
    Last Post: - 24th September 2010, 07:10

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