CV3 send vout data
This commit is contained in:
+7
-3
@@ -26,6 +26,10 @@ static uint16_t CV3Curve(CV3Mode *CV3){
|
||||
RealV2 = (int32_t)((Vout - Vin) / 500);//[1uV]
|
||||
InputNotify(NOTIFY_VOLT, RealV2);
|
||||
|
||||
int32_t RealV;
|
||||
RealV = (int32_t)(Vout / 500);//[1uV]
|
||||
InputNotify(NOTIFY_IMPEDANCE, RealV);
|
||||
|
||||
DAC_outputV(DACOutCode);
|
||||
|
||||
return DACOutCode;
|
||||
@@ -201,9 +205,9 @@ static void CV3_Vscan(CV3Mode *CV3){
|
||||
}
|
||||
|
||||
|
||||
int32_t RealV;
|
||||
RealV = (int32_t)(Vset / 500);//[1uV]
|
||||
InputNotify(NOTIFY_IMPEDANCE, RealV);
|
||||
// int32_t RealV;
|
||||
// RealV = (int32_t)(Vset / 500);//[1uV]
|
||||
// InputNotify(NOTIFY_IMPEDANCE, RealV);
|
||||
|
||||
if(VmaxCounter == VminCounter){ //calculate cycle number
|
||||
if(Vset == Vinit){
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#define BOARD_7C8C
|
||||
#define BOARD_ANGUS
|
||||
|
||||
typedef struct _formula{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user