Help with DS18B20 program


Closed Thread
Results 1 to 39 of 39

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    20


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bruce View Post
    If ADCON1 = 15 what are they?
    They are ALL digital, right?

    Yeah - I was just reading about ADCON1 on the datasheet and seems like I should try again with ADCON1=15 at the beginning of my program. That will turn RB4 (which is also AN11) into a digital port (along with all the other A/Ds). My fingers are itching to try this out, but alas I don't have my programmer with me. Can't wait to try it out when I go home. Man, this stuff is addicting!

    Thanks Bruce!
    Last edited by presario1425; - 19th November 2007 at 22:43.

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


    Did you find this post helpful? Yes | No

    Default

    They are ALL digital, right?
    You're 100% correct. Easy stuff isn't it.?

    Man, this stuff is addicting!
    It really is..;o}

    Just remember, the data sheet is all you really need beyond the PBP manual. Lookup the
    value you need to place in a peripheral register to configure it to work the way you want
    it to, and BINGO you're off to the races.

    It really is that simple.
    Regards,

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

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. Replies: 1
    Last Post: - 23rd May 2009, 09:22
  3. Compile and Program help using PICKit2
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 10th March 2009, 14:51
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. PIC16F684 Program question
    By Nicholas in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th December 2006, 14:30

Members who have read this thread : 3

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