18F252 ports and osc


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2006
    Location
    Venezuela - Caracas
    Posts
    48

    Default 18F252 ports and osc

    i cant work with digital in ports RB7, RB6 and RB5
    my config is

    ADCON0 = 0 ' Enable A/D
    ADCON1 = 15 ' All ports digital


    how to work with all port b digital and intern oscilator with 8mhz ?

    many thanks for help.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Are you using an 18F252 or 18F2525?

    The 18F252 doesn't have any A/D on PORTB or an internal oscillator!
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Sep 2006
    Location
    Venezuela - Caracas
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    i'll re-write my code....thanks

Similar Threads

  1. 18F4550 - Does strange things on D ports
    By NL2TTL in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 23rd October 2009, 21:50
  2. 4550 osc
    By MyBuddy in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 23rd October 2009, 16:32
  3. Problem with ports help plz
    By Mus.me in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 2nd August 2009, 21:51
  4. Ports not stable
    By mpardinho in forum USB
    Replies: 0
    Last Post: - 10th April 2007, 13:29

Members who have read this thread : 1

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