mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-07 23:45:11 +00:00
first test
This commit is contained in:
parent
4fb4712a33
commit
ee687e6959
5 changed files with 120 additions and 67 deletions
|
|
@ -99,7 +99,7 @@ namespace BATTERY_Utils {
|
|||
int sample;
|
||||
int sampleSum = 0;
|
||||
#ifdef ADC_CTRL
|
||||
#if defined(HELTEC_WIRELESS_TRACKER)
|
||||
#if defined(HELTEC_WIRELESS_TRACKER) || defined(HELTEC_WP)
|
||||
digitalWrite(ADC_CTRL, HIGH);
|
||||
#endif
|
||||
#if defined(HELTEC_V3) || defined(HELTEC_V2) || defined(HELTEC_WSL_V3)
|
||||
|
|
@ -130,7 +130,7 @@ namespace BATTERY_Utils {
|
|||
}
|
||||
|
||||
#ifdef ADC_CTRL
|
||||
#if defined(HELTEC_WIRELESS_TRACKER)
|
||||
#if defined(HELTEC_WIRELESS_TRACKER) || defined(HELTEC_WP)
|
||||
digitalWrite(ADC_CTRL, LOW);
|
||||
#endif
|
||||
#if defined(HELTEC_V3) || defined(HELTEC_V2) || defined(HELTEC_WSL_V3)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue