25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
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. }