Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Sep 6, 2014 #21 Whats your MCU... I can browse the datasheet to see what's needed..
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Sep 6, 2014 #23 All the stuff you need
Adam2014 Member Sep 6, 2014 #24 thanks i read it . when the MCU store ADC data in 2 register ADCH ADCL how i can write int x = ADC data that include the registers value
thanks i read it . when the MCU store ADC data in 2 register ADCH ADCL how i can write int x = ADC data that include the registers value
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Sep 6, 2014 #25 Most compilers use a word to access the ADC result ADCL and ADCH are addressed next to each other so the variable ADC returns the full result... Just copy the function and that will return the ADC result...
Most compilers use a word to access the ADC result ADCL and ADCH are addressed next to each other so the variable ADC returns the full result... Just copy the function and that will return the ADC result...