TEST
parent
384483a7f4
commit
8f8ba8c0f9
|
@ -395,6 +395,8 @@ void batt_read(){
|
|||
#ifdef T_BEAM_V1_0
|
||||
BattVolts = axp.getBattVoltage()/1000;
|
||||
InpVolts = axp.getVbusVoltage()/1000;
|
||||
#elif HELTEC_V2
|
||||
BattVolts = analogRead(13)*7.221/1024;
|
||||
#else
|
||||
BattVolts = analogRead(35)*7.221/4096;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue