#ifndef EEM_POWER_H #define EEM_POWER_H #include "user_main.h" #define EEM_CURRENT_REF 0 #define EEM_CURRENT_VAL 1 #define EEM_ADC2CURRENT(val,ref) ((val-ref)/4096*3.3f/750) //((val-ref)/4096*3.3/1000/0.03/25) void eem_power_init(); void eem_power_get_current(); #endif