| Electronic Components Datasheet Search |
|
PICDEM2 Datasheet(PDF) 16 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PICDEM2 Datasheet(HTML) 16 Page - Microchip Technology |
|
16 / 60 page ![]() 2001 Microchip Technology Inc. DS30374D-page 11 PICDEM 2 USER’S GUIDE 12 Chapter 4. A/D Demo The a2d.asm program is a simple implementation of the analog-to-digital (A/D) converter. The program reads A/D channel 0 and displays the results on the LEDs connected to PORTB. If the potentiometer is turned all the way clockwise, all of the LEDs are off. If the potentiometer is turned all the way counter-clockwise, all of the LEDs are turned on. The program is interrupt driven, i.e., the program sits in an infinite loop until the A/D converter interrupts when the conversion is complete and then updates the values on the PORTB LEDs. For more information on A/D module operation, please refer to the PICmicro Mid-range MCUFamily Reference Manual for an operational description and a list of related application notes. For detailed information on the PICDEM 2 hardware, please refer to Appendix A. Figure 4.1: A/D Demo PICDEM 2 DEMO BOARD U1 PIC16C64/74 RA0 RN1 7 6 5 4 3 2 10 RN2 PORT B ©1994 FFh 00h POTENTIOMETER LEDs U2 PIC16C73 (28-pin Device) (40-pin Device) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |