DSCSAM_ADCorrect

This function get the A/D raw voltage, A/D channel number and calculates the corrected A/D voltage using respective A/D channel calibration factors and return the corrected voltage to caller.

double DSCSAM_ADCorrect (BYTE ad_channel, double ad_raw_voltage);

Name

Description

ad_channel

0 - 5

ad_raw_voltage

A/D raw voltage

Return Value

A/D Corrected voltage

Last updated