A simple example of using the ADC library.
ADC results are displayed on PORTC and PORTD.
* Test configuration:
MCU: PIC18F45K22
http://ww1.microchip.com/downloads/en/DeviceDoc/41412D.pdf
Oscillator: HS-PLL 32.0000 MHz, 8.0000 MHz Crystal
* NOTES:
- Turn on PORTC and PORTD LEDs
- To simulate analog input on ADC channel 1 (RA1)
--------------------------------------------------------------------------------------------------------------
ADC results are displayed on PORTC and PORTD.
* Test configuration:
MCU: PIC18F45K22
http://ww1.microchip.com/downloads/en/DeviceDoc/41412D.pdf
Oscillator: HS-PLL 32.0000 MHz, 8.0000 MHz Crystal
* NOTES:
- Turn on PORTC and PORTD LEDs
- To simulate analog input on ADC channel 1 (RA1)
--------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment