5 #include "oXs_config_basic.h"
6 #include "oXs_config_advanced.h"
7 #include "oXs_config_macros.h"
10 struct ONE_MEASUREMENT milliAmps
; // in mA
11 struct ONE_MEASUREMENT consumedMilliAmps
; // in mA
12 //int32_t consumedMilliAmps; // in mA
13 //bool consumedMilliAmpsAvailable;
21 OXS_CURRENT(uint8_t pinCurrent
, HardwareSerial
&print
);
23 OXS_CURRENT(uint8_t pinCurrent
) ;
25 CURRENTDATA currentData
;
32 HardwareSerial
* printer
;
35 float offsetCurrentSteps
;
37 float floatConsumedMilliAmps
; // in mA
41 #endif // OXS_CURRENT_h