Would like to see a bit more expansion on the ADC library.
Room to allow for configuration of the ADC section to make it much more flexible for others.
Code: Select all
Setup the ADC converter
Result = 10 bits or 8 bits
Mode = to use as one shot or continuously running
Prescale = numbers like 2,4,8,16, etc or AUTO
Voltage Reference = internal, External or Vcc Supply
Differential Mode = channel[n1]+channel[n2]
Gain = channel[n1], gain[1,10,20,50]
Noise Cancellation = yes or no
The command "ADC_Read" in the Help Documentation.
Which Voltage Reference is this used?
1) Vcc (Supply to Chip)
2) Internal Voltage Reference
3) Sometimes there are chips that has 2 Internal Voltage References