This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AD Wandler

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

Parents
  • 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.

Reply
  • 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.

Children