您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

15 行
216 B

  1. #include "define.h"
  2. #include "CurrentSensor.h"
  3. #include "ina219.h"
  4. int CurrentSensorInit()
  5. {
  6. ina219SetCalibration_16V_200mA();
  7. return RET_OK;
  8. }
  9. int GetSolarPanelCurrent()
  10. {
  11. return ina219GetCurrent();
  12. }