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
|
||||
|
@ -733,7 +735,7 @@ void setup(){
|
|||
pinMode(RXPIN, OUTPUT);
|
||||
#endif
|
||||
pinMode(TXLED, OUTPUT);
|
||||
|
||||
|
||||
#ifdef T_BEAM_V1_0
|
||||
pinMode(BUTTON, INPUT);
|
||||
#elif T_BEAM_V0_7
|
||||
|
|
Loading…
Reference in New Issue