Elite 1.4-re merge with IVtest branch

This commit is contained in:
alan
2019-09-03 18:19:59 +08:00
parent d44dd996a7
commit 2bb80a06ed
2 changed files with 2 additions and 1 deletions
@@ -69,7 +69,7 @@ static void InitEliteInstruction(){
INSTRUCTION.VoltOrigin = DAC_ZERO;
INSTRUCTION.VoltFinal = DAC_POS_MAX;
INSTRUCTION.Step = 0x0005; // 0x0005 = 1mV
INSTRUCTION.StepTime = 0x20; // about 0.5 sec
INSTRUCTION.StepTime = STEPTIME_HALF_SEC; // about 0.5 sec
INSTRUCTION.VoltConstant = 29000; // is about 1V
INSTRUCTION.ADCGainLevel = GAIN_200K;
INSTRUCTION.CurrentLV = 0x00;
@@ -13,6 +13,7 @@ static void reset() {
ADCRealCurrent = 0;
ADCRealCurrent_long = 0;
LEDPowerON();
for (int i = 0; i < BLE_INS_BUFF_SIZE; i++) {
ins_buf[i] = 0;