Browse Source

TEST

pull/1/head
US1GHQ 3 months ago
parent
commit
8f8ba8c0f9
  1. 4
      src/TTGO_T-Beam_LoRa_APRS.ino

4
src/TTGO_T-Beam_LoRa_APRS.ino

@ -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…
Cancel
Save