Elite 1.4-re DAC correction

This commit is contained in:
alan
2019-08-14 19:22:48 +08:00
parent 77719e3713
commit 4a2af94b31
2 changed files with 13 additions and 1 deletions
@@ -72,7 +72,6 @@ static void ADC_Test(){
}
static ADCGainControl(uint8_t ADCLevel){
if(ADCLevel == 0){
// ADC gain level = 0, using 200R resister
@@ -55,4 +55,17 @@ static void DAC_outputV(uint16_t voltLV) {
#endif
// User will enter -5V~+5V in UI.
// websever and controler use 0~50000 represent -5~+5V
// this function should turn 0~50000 into DACcode which output the exactly voltage user want
static uint16_t DACCorrectionDecode(uint16_t usercode){
// DACcode to real_voltage correction function
uint16_t DACcode = 0;
return DACcode;
}
#endif