Page 1 of 1

ADC Library Expansion

Posted: 07 Dec 2008 02:20
by pykedgew
Hi mE Team

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
Ken

Posted: 18 Dec 2008 12:16
by pykedgew
Hi

Just to bump this subject again.

Is there any interest from the mE team likely to expand the above suggestions to the ADC library?

Ken

Posted: 19 Dec 2008 08:53
by filip
Hi Ken,

For the first release of the mikroBasic PRO for AVR compiler, ADC library will remain as is. Maybe it will be expanded in some future releases of the compiler, but I can't guarantee it now.

Regards,
Filip.

Posted: 19 Dec 2008 23:57
by pykedgew
Hi filip

Thanks for the feedback.

I hope we won't have to wait for a very long time for this.

Ken