In Reference using a PIC Microcontroller Software & Hardware: Also the link to t
ID: 3676828 • Letter: I
Question
In Reference using a PIC Microcontroller Software & Hardware:
Also the link to the data sheet for its specs: http://ww1.microchip.com/downloads/en/DeviceDoc/39564c.pdf
Again here is the link below to the data sheet for its specs to determine the TAD and Tacq and the Freq is at 4MHZ:
http://ww1.microchip.com/downloads/en/DeviceDoc/39564c.pdf
Using a PIC Microcontroller Microchip PIC18F452 with a crystal oscillator of 4MHZ Please Determine the Following with the Code Provided Below.... include #include «adc.h> #include #include «delays"h> int result void main (void) OpenADC (ADC_FOSC_32 & ADC_RIGHT JUST & ADC_1ANA OREF, ADC_CH1 & ADC INT OFF); Delay10TCYx(2); Convert ADC( ); While (BusyADC( ) Result= ReadADC( ); CloseADC( ); 1) Which channel is used? 2) What is the number of sensors? 3) The period (in s) of t 4) The acquisition time (in necessary to read the analog signal? he A/D converter?Explanation / Answer
openADC(adc_fosc_32 & adc_right_just & adc_1ana_0ref,adc_ch1 &adc_int_off)
1) the channel used is adc_ch1 or simply channel 1
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.