PDA

View Full Version : Off digital/analogs 16F873



Leonardo
- 29th September 2005, 04:05
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

Melanie
- 29th September 2005, 06:55
Download the Datasheet from Microchip website.

http://www.microchip.com/stellent/idcplgidcplg?IdcService=SS_GET_PAGE&nodeId=1335&dDocName=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.

Darrel Taylor
- 29th September 2005, 07:47
C'mon, break out the whip!

He needs a few lashes.
<br>

Melanie
- 29th September 2005, 08:02
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.

Darrel Taylor
- 29th September 2005, 08:32
I do hate when that happens!

More than you would imagine ... :)

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

Melanie
- 29th September 2005, 08:49
Hmmm... I thought I recognised you on the bondage.com forum...

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

Darrel Taylor
- 29th September 2005, 09:43
I See,

OK LEONARDO,

LIKE MELANIE SAID. DOWNLOAD THE DATASHEET FROM MICROCHIP WEBSITE.
HTTP://WWW.MICROCHIP.COM/stellent/idcplgidcplg?IdcService=SS_GET_PAGE&nodeId=1335&dDocName=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!

Melanie
- 29th September 2005, 11:07
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...

Leonardo
- 29th September 2005, 15:39
Hello to all,

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

Thanks

Darrel Taylor
- 29th September 2005, 22:46
http://www.darreltaylor.com/files/dejected.gif

Leonardo
- 30th September 2005, 00:33
As it seems don't you like people that speaks Spanish or do I make a mistake?

Leonardo
- 30th September 2005, 00:33
Thanks Mellanie




Download the Datasheet from Microchip website.

http://www.microchip.com/stellent/idcplgidcplg?IdcService=SS_GET_PAGE&nodeId=1335&dDocName=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.

Darrel Taylor
- 30th September 2005, 04:55
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>