ADC Library Expansion

Beta Testing discussion on mikroPascal PRO for AVR.
Post Reply
Author
Message
pykedgew
Posts: 164
Joined: 10 Dec 2005 02:22
Location: Brisbane Australia

ADC Library Expansion

#1 Post by pykedgew » 07 Dec 2008 02:20

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
Last edited by pykedgew on 18 Dec 2008 12:16, edited 1 time in total.

pykedgew
Posts: 164
Joined: 10 Dec 2005 02:22
Location: Brisbane Australia

#2 Post by pykedgew » 18 Dec 2008 12:16

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

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

#3 Post by filip » 19 Dec 2008 08:53

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.

pykedgew
Posts: 164
Joined: 10 Dec 2005 02:22
Location: Brisbane Australia

#4 Post by pykedgew » 19 Dec 2008 23:57

Hi filip

Thanks for the feedback.

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

Ken

Post Reply

Return to “mikroPascal PRO for AVR Beta Testing”