piclist 2001\01\31\090413a >
Thread: : New to PIC16F877
face picon face BY : Olin Lathrop email (remove spam text)

> Sirs, how do I initialize the ports for digital I/O?
> What should I take care of, ADCON0 or ADCON1?

The 16F877 wakes up with the A/D pins set to analog.  You have to configure
them as digital I/O if you want to use them that way.

> I also want to learn sirs how to use the USART of
> the PIC16F877.

The data sheet is quite good for this.  If you still have problems, you can
probably find some app notes on the Microchip web site.

Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, spamolinspam@spam@embedinc.com, http://www.embedinc.com

http://www.piclist.com hint: To leave the PICList

<003901c08b89$a5fa5240$260bf6cd@pc> 7bit

See also: www.piclist.com/techref/microchip/devices.htm?key=16F
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) : New to PIC16F877

month overview.

new search...