Hello I want to measure the value of an analog signal (current) with the help of AD. I want to have a sample code example. Many thanks for your help
I want a date with Meg Ryan...
By the way: Here is an example:
init_adc(); for (;;) { get_adc_sample(&sample); filter_and_scale(&sample); present_sample(&sample); wait(short_time); }
It is generic, and will work on _any_ processor (with an ADC) and can measure from DC up to many GHz with suitable resolution.
Besides hoping for a date with Meg Ryan, I also do school excercices, job interviews, SAT tests, and issue university diplomas.
"Here is an example"
If that were an example of a date with Meg Ryan I should be sorely disappointed...!!
I would think that an example of such a date better not be documented in this forum - envious reactions may follow :)
unless she's just faking...
Thanks for your Answer ,but i need a code with a configration of XC167 AD Registers
So, where have you looked for any information?
Have you read the data sheet? Have you looked at the examples supplied with the Keil tools? Have you looked for any examples on the manufacturers product page? Have you googled for code?
I have read the data sheet I have surch in google code I dont have read in Keil tools
Thanks for your help
Here is an example for the XC167 ADC using the PEC
http://www.keil.com/forum/docs/thread11569.asp