From 8ddb683989ab333e7cad5c6f8bbcb373f85174d0 Mon Sep 17 00:00:00 2001 From: Egor Shitikov Date: Mon, 9 Sep 2024 13:31:24 -0700 Subject: [PATCH] Update heltec_unofficial.h Custom PIN value for PROG button --- src/heltec_unofficial.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/heltec_unofficial.h b/src/heltec_unofficial.h index df43f6c..7fbc1ff 100644 --- a/src/heltec_unofficial.h +++ b/src/heltec_unofficial.h @@ -18,7 +18,9 @@ #endif // 'PRG' Button +#ifndef BUTTON #define BUTTON GPIO_NUM_0 +#endif // LED pin & PWM parameters #define LED_PIN GPIO_NUM_35 #define LED_FREQ 5000