Off digital/analogs 16F873


Closed Thread
Results 1 to 13 of 13
  1. #1

    Smile Off digital/analogs 16F873

    Hello,

    Do I have a PIC16F873A and do I want to enable from RA0....... RA5 like digital entrances, as off the digital analog entrances?.

    Thanks

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


    Did you find this post helpful? Yes | No

    Default

    Download the Datasheet from Microchip website.

    http://www.microchip.com/stellent/id...cName=en010236

    Step 1.

    Datasheet Register Section 11-2, ADCON1 Register, note Table for Bits 3:0.

    Step 2.

    Datasheet Register Secition 12-1, CMCON Register, see Table Figure 12-1.

    Use this to configure for whatever I/O you need.

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    C'mon, break out the whip!

    He needs a few lashes.
    <br>
    DT

  4. #4
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Aw shucks, and I just sent it in for it's annual service. Don't you hate it when that happens? I'll have to get down to whips-n-things and buy a spare.

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I do hate when that happens!

    More than you would imagine ...

    But, for Leonardo, do they even have datasheets in Spanish?
    <br>
    DT

  6. #6
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Hmmm... I thought I recognised you on the bondage.com forum...

    I've observed that everyone understands English if it's loud enough.

  7. #7
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I See,

    OK LEONARDO,

    LIKE MELANIE SAID. DOWNLOAD THE DATASHEET FROM MICROCHIP WEBSITE.
    HTTP://WWW.MICROCHIP.COM/stellent/id...cName=en010236

    THEN READ
    DATASHEET REGISTER SECTION 11-2, ADCON1 REGISTER, NOTE TABLE FOR BITS 3:0.

    AND

    DATASHEET REGISTER SECITION 12-1, CMCON REGISTER, SEE TABLE FIGURE 12-1

    OH, AND WHILE YOU'RE AT IT. WHY NOT BUY A COPY OF PICBASIC PRO.
    <br>
    Maybe that was too loud. Oops!

  8. #8
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    For you that was quite restrained Darrel... I half expected 72-point Headline print in HTML along with an appended sound-clip recordered 30db above the norm... seriously though... have you ever noticed the English-speaking tourists asking for directions in Europe?... like the louder and slower you speak it, there will come a point you're bound to be understood...

  9. #9


    Did you find this post helpful? Yes | No

    Smile

    Hello to all,

    What I want is to use ports RA0... ra5 as entered as the RB0 work... rb7.

    Thanks

  10. #10
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default


  11. #11


    Did you find this post helpful? Yes | No

    Smile

    As it seems don't you like people that speaks Spanish or do I make a mistake?

  12. #12


    Did you find this post helpful? Yes | No

    Smile

    Thanks Mellanie



    Quote Originally Posted by Melanie
    Download the Datasheet from Microchip website.

    http://www.microchip.com/stellent/id...cName=en010236

    Step 1.

    Datasheet Register Section 11-2, ADCON1 Register, note Table for Bits 3:0.

    Step 2.

    Datasheet Register Secition 12-1, CMCON Register, see Table Figure 12-1.

    Use this to configure for whatever I/O you need.

  13. #13
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    No, if I had a problem with people that speak Spanish, I wouldn't be living in Southern California.

    I was just trying to get you to read the Datasheet. Looks like it worked
    <br>
    DT

Similar Threads

  1. 10 bit ADC display on LCD using 16f873
    By pr2don in forum mel PIC BASIC
    Replies: 3
    Last Post: - 6th March 2010, 18:29
  2. Hpwm On 16f873
    By k-hirayama in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 15th February 2008, 04:04
  3. PWM using a 16F873
    By Gixxer in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 2nd February 2008, 03:05
  4. CMCON = 7 Gives Errors On 16F873
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st January 2007, 16:27
  5. Help with 16F873 "Out of Memory" problem.
    By Archilochus in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 31st December 2004, 20:01

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