Reset all target definitions to use LEDx_PIN for clarity.

This commit is contained in:
blckmn 2017-06-17 16:56:35 +10:00
parent daa0afcd39
commit 1bc421133e
68 changed files with 137 additions and 137 deletions

View File

@ -261,14 +261,14 @@ void pgResetFn_statusLedConfig(statusLedConfig_t *statusLedConfig)
statusLedConfig->ioTags[i] = IO_TAG_NONE;
}
#ifdef LED0
statusLedConfig->ioTags[0] = IO_TAG(LED0);
#ifdef LED0_PIN
statusLedConfig->ioTags[0] = IO_TAG(LED0_PIN);
#endif
#ifdef LED1
statusLedConfig->ioTags[1] = IO_TAG(LED1);
#ifdef LED1_PIN
statusLedConfig->ioTags[1] = IO_TAG(LED1_PIN);
#endif
#ifdef LED2
statusLedConfig->ioTags[2] = IO_TAG(LED2);
#ifdef LED2_PIN
statusLedConfig->ioTags[2] = IO_TAG(LED2_PIN);
#endif
statusLedConfig->inversion = 0

View File

@ -595,7 +595,7 @@ const clivalue_t valueTable[] = {
// PG_TELEMETRY_CONFIG
#ifdef TELEMETRY
{ "tlm_switch", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_TELEMETRY_CONFIG, offsetof(telemetryConfig_t, telemetry_switch) },
{ "tlm_inverted", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_TELEMETRY_CONFIG, offsetof(telemetryConfig_t, telemetry_inverted) },
{ "tlm_inverted", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_TELEMETRY_CONFIG, offsetof(telemetryConfig_t, telemetry_inverted) },
{ "tlm_halfduplex", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_TELEMETRY_CONFIG, offsetof(telemetryConfig_t, halfDuplex) },
{ "frsky_default_lat", VAR_INT16 | MASTER_VALUE, .config.minmax = { -9000, 9000 }, PG_TELEMETRY_CONFIG, offsetof(telemetryConfig_t, gpsNoFixLatitude) },
{ "frsky_default_long", VAR_INT16 | MASTER_VALUE, .config.minmax = { -18000, 18000 }, PG_TELEMETRY_CONFIG, offsetof(telemetryConfig_t, gpsNoFixLongitude) },
@ -605,7 +605,7 @@ const clivalue_t valueTable[] = {
{ "hott_alarm_int", VAR_UINT8 | MASTER_VALUE, .config.minmax = { 0, 120 }, PG_TELEMETRY_CONFIG, offsetof(telemetryConfig_t, hottAlarmSoundInterval) },
{ "pid_in_tlm", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = {TABLE_OFF_ON }, PG_TELEMETRY_CONFIG, offsetof(telemetryConfig_t, pidValuesAsTelemetry) },
#if defined(TELEMETRY_IBUS)
{ "report_cell_voltage", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_TELEMETRY_CONFIG, offsetof(telemetryConfig_t, report_cell_voltage) },
{ "report_cell_voltage", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_TELEMETRY_CONFIG, offsetof(telemetryConfig_t, report_cell_voltage) },
#endif
#endif

View File

@ -21,7 +21,7 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT
#define LED0 PB5 // Blue LED - PB5
#define LED0_PIN PB5 // Blue LED - PB5
#define BEEPER PA0

View File

@ -22,8 +22,8 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT
#define CONFIG_PREFER_ACC_ON
#define LED0 PB3
#define LED1 PB4
#define LED0_PIN PB3
#define LED1_PIN PB4
#define BEEPER PA12
#define BEEPER_INVERTED

View File

@ -22,8 +22,8 @@
#define BRUSHED_ESC_AUTODETECT
#define LED0 PB3
#define LED1 PB4
#define LED0_PIN PB3
#define LED1_PIN PB4
#define BEEPER PA12

View File

@ -28,8 +28,8 @@
#define BRUSHED_ESC_AUTODETECT
// LED's V1
#define LED0 PB4
#define LED1 PB5
#define LED0_PIN PB4
#define LED1_PIN PB5
// LED's V2
#define LED0_A PB8

View File

@ -25,8 +25,8 @@
#define USBD_PRODUCT_STRING "AlienFlight F4"
#define LED0 PC12
#define LED1 PD2
#define LED0_PIN PC12
#define LED1_PIN PD2
#define BEEPER PC13
#define BEEPER_INVERTED

View File

@ -25,8 +25,8 @@
#define USBD_PRODUCT_STRING "AlienFlightNG F7"
#define LED0 PC12
#define LED1 PD2
#define LED0_PIN PC12
#define LED1_PIN PD2
#define BEEPER PC13
#define BEEPER_INVERTED

View File

@ -20,7 +20,7 @@
#define USBD_PRODUCT_STRING "BeeRotorF4"
#define LED0 PB4
#define LED0_PIN PB4
#define BEEPER PB3
#define BEEPER_INVERTED

View File

@ -28,9 +28,9 @@
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define LED0 PB6
#define LED1 PB5
#define LED2 PB4
#define LED0_PIN PB6
#define LED1_PIN PB5
#define LED2_PIN PB4
#define BEEPER PC1
#define BEEPER_OPT PB7

View File

@ -17,7 +17,7 @@
#define TARGET_BOARD_IDENTIFIER "CC3D" // CopterControl 3D
#define LED0 PB3
#define LED0_PIN PB3
#define INVERTER_PIN_UART1 PB2 // PB2 (BOOT1) used as inverter select GPIO

View File

@ -24,9 +24,9 @@
#define STM32F3DISCOVERY
#endif
#define LED0 PE8 // Blue LEDs - PE8/PE12
#define LED0_PIN PE8 // Blue LEDs - PE8/PE12
#define LED0_INVERTED
#define LED1 PE10 // Orange LEDs - PE10/PE14
#define LED1_PIN PE10 // Orange LEDs - PE10/PE14
#define LED1_INVERTED
#define BEEPER PE9 // Red LEDs - PE9/PE13

View File

@ -21,9 +21,9 @@
#define USE_HARDWARE_REVISION_DETECTION
#define TARGET_BUS_INIT
#define LED0 PC14
#define LED1 PC13
#define LED2 PC15
#define LED0_PIN PC14
#define LED1_PIN PC13
#define LED2_PIN PC15
#undef BEEPER

View File

@ -24,7 +24,7 @@
#endif
#define LED0 PB5
#define LED0_PIN PB5
#define BEEPER PB4
#define BEEPER_INVERTED
#define BEEPER_PWM_HZ 3800 // Beeper PWM frequency in Hz

View File

@ -20,7 +20,7 @@
#define USBD_PRODUCT_STRING "CLRACINGF7"
#define LED0 PB0
#define LED0_PIN PB0
#define BEEPER PB4
#define BEEPER_INVERTED

View File

@ -26,8 +26,8 @@
#define TARGET_XTAL_MHZ 16
#define LED0 PC14
#define LED1 PC13
#define LED0_PIN PC14
#define LED1_PIN PC13
#define BEEPER PC5

View File

@ -26,9 +26,9 @@
#undef USE_RX_MSP // never used.
#define LED0 PC15
#define LED1 PC14
#define LED2 PC13
#define LED0_PIN PC15
#define LED1_PIN PC14
#define LED2_PIN PC13
#define BEEPER PB13
#define BEEPER_INVERTED

View File

@ -42,9 +42,9 @@
#define USED_TIMERS ( TIM_N(2) | TIM_N(4) )
#endif
#define LED0 PD2
#define LED1 PC0
#define LED2 PC3
#define LED0_PIN PD2
#define LED1_PIN PC0
#define LED2_PIN PC3
// Using STM32F405RG, 64 pin package (LQFP64)
// 16 pins per port, ports A, B, C, and also PD2

View File

@ -22,11 +22,11 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT
// tqfp48 pin 34
#define LED0 PA13
#define LED0_PIN PA13
// tqfp48 pin 37
#define LED1 PA14
#define LED1_PIN PA14
// tqfp48 pin 38
#define LED2 PA15
#define LED2_PIN PA15
#define BEEPER PB2
#define BEEPER_INVERTED

View File

@ -22,9 +22,9 @@
#define USBD_PRODUCT_STRING "Elle0"
#define LED0 PA8
#define LED1 PB4
#define LED2 PC2
#define LED0_PIN PA8
#define LED1_PIN PB4
#define LED2_PIN PC2
// MPU9250 interrupt
#define USE_EXTI

View File

@ -20,9 +20,9 @@
#define USBD_PRODUCT_STRING "Swift-Flyer F4BY"
#define LED0 PE3 // Blue LED
#define LED1 PE2 // Red LED
#define LED2 PE1 // Blue LED
#define LED0_PIN PE3 // Blue LED
#define LED1_PIN PE2 // Red LED
#define LED2_PIN PE1 // Blue LED
#define BEEPER PE5

View File

@ -19,8 +19,8 @@
#define TARGET_BOARD_IDENTIFIER "FORT"
#define USBD_PRODUCT_STRING "FortiniF4"
/*--------------LED----------------*/
#define LED0 PB5
#define LED1 PB6
#define LED0_PIN PB5
#define LED1_PIN PB6
#define LED_STRIP
/*---------------------------------*/

View File

@ -32,8 +32,8 @@
#define TARGET_CONFIG
#define BRUSHED_ESC_AUTODETECT
#define LED0 PB9
#define LED1 PB5
#define LED0_PIN PB9
#define LED1_PIN PB5
#define BEEPER PA0
#define BEEPER_INVERTED

View File

@ -19,8 +19,8 @@
#define TARGET_BOARD_IDENTIFIER "PIK4"
#define USBD_PRODUCT_STRING "PikoF4"
/*--------------LED----------------*/
#define LED0 PA15
#define LED1 PB6
#define LED0_PIN PA15
#define LED1_PIN PB6
#define LED_STRIP
/*---------------------------------*/

View File

@ -21,8 +21,8 @@
#define USBD_PRODUCT_STRING "FishDroneF4"
#define LED0 PC13
#define LED1 PC14
#define LED0_PIN PC13
#define LED1_PIN PC14
#define BEEPER PC15
#define BEEPER_INVERTED

View File

@ -21,7 +21,7 @@
#define TARGET_CONFIG
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PB3
#define LED0_PIN PB3
#define BEEPER PC15
#define BEEPER_INVERTED

View File

@ -19,7 +19,7 @@
#define USBD_PRODUCT_STRING "FRSKYF4"
#define TARGET_CONFIG
#define LED0 PB5
#define LED0_PIN PB5
#define BEEPER PB4
#define BEEPER_INVERTED

View File

@ -28,7 +28,7 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT
#define CONFIG_PREFER_ACC_ON
#define LED0 PC14
#define LED0_PIN PC14
#define BEEPER PC15
#define BEEPER_INVERTED

View File

@ -25,8 +25,8 @@
#define USBD_PRODUCT_STRING "FuryF4"
#endif
#define LED0 PB5
#define LED1 PB4
#define LED0_PIN PB5
#define LED1_PIN PB4
#define BEEPER PA8
#define BEEPER_INVERTED

View File

@ -21,8 +21,8 @@
#define USBD_PRODUCT_STRING "FuryF7"
#define LED0 PB5
#define LED1 PB4
#define LED0_PIN PB5
#define LED1_PIN PB4
#define BEEPER PD10
#define BEEPER_INVERTED

View File

@ -21,7 +21,7 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PB7
#define LED0_PIN PB7
#define BEEPER PC15

View File

@ -21,7 +21,7 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PB3
#define LED0_PIN PB3
#define USE_EXTI
#define MPU_INT_EXTI PC13

View File

@ -21,7 +21,7 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PB3
#define LED0_PIN PB3
#define BEEPER PC15
#define BEEPER_INVERTED

View File

@ -20,9 +20,9 @@
#define USBD_PRODUCT_STRING "KakuteF4-V1"
#define LED0 PB5
#define LED1 PB4
#define LED2 PB6
#define LED0_PIN PB5
#define LED1_PIN PB4
#define LED2_PIN PB6
#define BEEPER PC9
#define BEEPER_INVERTED

View File

@ -29,7 +29,7 @@
#define ESCSERIAL_TIMER_TX_HARDWARE 6
#define REMAP_TIM17_DMA
#define LED0 PB1
#define LED0_PIN PB1
#define BEEPER PB13
#define BEEPER_INVERTED

View File

@ -32,11 +32,11 @@
#endif
#if defined(PLUMF4) || defined(KIWIF4V2)
#define LED0 PB4
#define LED0_PIN PB4
#else
#define LED0 PB5
#define LED1 PB4
#define LED0_PIN PB5
#define LED1_PIN PB4
#endif
#define BEEPER PA8

View File

@ -27,8 +27,8 @@
#define TARGET_CONFIG
#define TARGET_PREINIT
#define LED0 PA14 // Red LED
#define LED1 PA13 // Green LED
#define LED0_PIN PA14 // Red LED
#define LED1_PIN PA13 // Green LED
#define BEEPER PC1

View File

@ -17,7 +17,7 @@
#define TARGET_BOARD_IDENTIFIER "MCF3" // LumbaF3 Flight Controller by mC
#define LED0 PB3
#define LED0_PIN PB3
#define BEEPER PC15
// MPU6000 interrupts

View File

@ -26,10 +26,10 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT
#define LED0 PC15
#define LED1 PC14
#define LED0_PIN PC15
#define LED1_PIN PC14
#ifndef LUXV2_RACE
#define LED2 PC13
#define LED2_PIN PC13
#endif
#ifdef LUXV2_RACE

View File

@ -22,8 +22,8 @@
#define USBD_PRODUCT_STRING "MatekF4"
#define LED0 PB9
#define LED1 PA14
#define LED0_PIN PB9
#define LED1_PIN PA14
#define BEEPER PC13
#define BEEPER_INVERTED

View File

@ -19,8 +19,8 @@
#define TARGET_BOARD_IDENTIFIER "MSKY" // Micro sciSKY
#define LED0 PB3
#define LED1 PB4
#define LED0_PIN PB3
#define LED1_PIN PB4
#define BEEPER PA12

View File

@ -22,8 +22,8 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT
#define TARGET_CONFIG
#define LED0 PB5 // Blue LEDs - PB5
//#define LED1 PB9 // Green LEDs - PB9
#define LED0_PIN PB5 // Blue LEDs - PB5
//#define LED1_PIN PB9 // Green LEDs - PB9
#define BEEPER PA0
#define BEEPER_INVERTED

View File

@ -22,7 +22,7 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PB3
#define LED0_PIN PB3
#define BEEPER PC15
#define BEEPER_INVERTED

View File

@ -26,8 +26,8 @@
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define LED0 PB3
#define LED1 PB4
#define LED0_PIN PB3
#define LED1_PIN PB4
#define BEEPER PA12

View File

@ -24,9 +24,9 @@
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define LED0 PB6
#define LED1 PB5
#define LED2 PB4
#define LED0_PIN PB6
#define LED1_PIN PB5
#define LED2_PIN PB4
#define BEEPER PC1
#define BEEPER_INVERTED

View File

@ -26,7 +26,7 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PB3
#define LED0_PIN PB3
#define BEEPER PC15
#define BEEPER_INVERTED

View File

@ -33,8 +33,8 @@
#define USBD_SERIALNUMBER_STRING "0x8020000" // Remove this at the next major release (?)
#endif
#define LED0 PB5
//#define LED1 PB4 // Remove this at the next major release
#define LED0_PIN PB5
//#define LED1_PIN PB4 // Remove this at the next major release
#define BEEPER PB4
#define BEEPER_INVERTED

View File

@ -19,7 +19,7 @@
#define USBD_PRODUCT_STRING "OmnibusF7"
#define LED0 PE0
#define LED0_PIN PE0
#define BEEPER PD15
#define BEEPER_INVERTED

View File

@ -21,10 +21,10 @@
#define USE_HARDWARE_REVISION_DETECTION
#define TARGET_CONFIG
#define LED0 PB3
#define LED0_PIN PB3
#define LED0_INVERTED
#define LED1 PB4
#define LED1_PIN PB4
#define LED1_INVERTED
#define BEEPER PA12

View File

@ -21,8 +21,8 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PB4
#define LED1 PB5
#define LED0_PIN PB4
#define LED1_PIN PB5
#define BEEPER PA0
#define BEEPER_INVERTED

View File

@ -48,10 +48,10 @@
#endif
#define LED0 PB5
#define LED0_PIN PB5
#if defined(PODIUMF4)
#define LED1 PB4
#define LED2 PB6
#define LED1_PIN PB4
#define LED2_PIN PB6
#endif
// Disable LED1, conflicts with AirbotF4/Flip32F4/Revolt beeper
@ -64,7 +64,7 @@
#define BEEPER PB6
#define BEEPER_INVERTED
#else
#define LED1 PB4
#define LED1_PIN PB4
// Leave beeper here but with none as io - so disabled unless mapped.
#define BEEPER NONE
#endif

View File

@ -23,8 +23,8 @@
#define USBD_SERIALNUMBER_STRING "0x8010000"
#endif
#define LED0 PC14
#define LED1 PC13
#define LED0_PIN PC14
#define LED1_PIN PC13
#define BEEPER PC13

View File

@ -19,8 +19,8 @@
#define TARGET_BOARD_IDENTIFIER "RGF3" // rgSSD_F3
#define LED0 PC1
#define LED1 PC0
#define LED0_PIN PC1
#define LED1_PIN PC0
#define BEEPER PA8
#define BEEPER_INVERTED

View File

@ -21,7 +21,7 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PB3
#define LED0_PIN PB3
#define BEEPER PC15

View File

@ -19,7 +19,7 @@
#define TARGET_BOARD_IDENTIFIER "SIRF"
#define LED0 PB2
#define LED0_PIN PB2
#define BEEPER PA1

View File

@ -21,8 +21,8 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PB4 // Blue (Rev 1 & 2) - PB4
#define LED1 PB5 // Green (Rev 1) / Red (Rev 2) - PB5
#define LED0_PIN PB4 // Blue (Rev 1 & 2) - PB4
#define LED1_PIN PB5 // Green (Rev 1) / Red (Rev 2) - PB5
#define BEEPER PA1
#define BEEPER_INVERTED

View File

@ -23,9 +23,9 @@
#define USBD_SERIALNUMBER_STRING "0x8020000"
#endif
#define LED0 PB5
#define LED1 PB4
#define LED2 PB6
#define LED0_PIN PB5
#define LED1_PIN PB4
#define LED2_PIN PB6
#define BEEPER PC9
#define BEEPER_INVERTED

View File

@ -30,11 +30,11 @@
#if defined(ZCOREF3)
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT
#define LED0 PB8
#define LED0_PIN PB8
#else
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PB3
#define LED0_PIN PB3
#endif
#define BEEPER PC15

View File

@ -46,7 +46,7 @@
#define BRUSHED_ESC_AUTODETECT
#define LED0 PB8
#define LED0_PIN PB8
#define BEEPER PC15
#define BEEPER_INVERTED

View File

@ -22,7 +22,7 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT
#define LED0 PB8
#define LED0_PIN PB8
#else
#define TARGET_BOARD_IDENTIFIER "SRFM"
@ -32,7 +32,7 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PB3
#define LED0_PIN PB3
#endif
#define BEEPER PC15

View File

@ -22,8 +22,8 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT
#define LED0 PB9
#define LED1 PB2
#define LED0_PIN PB9
#define LED1_PIN PB2
#define BEEPER PC15
#define BEEPER_INVERTED

View File

@ -22,7 +22,7 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT
#define LED0 PA15
#define LED0_PIN PA15
#define USE_EXTI

View File

@ -26,7 +26,7 @@
#define USBD_PRODUCT_STRING "SP Racing F4 NEO"
#define LED0 PA0
#define LED0_PIN PA0
#define BEEPER PC15
#define BEEPER_INVERTED

View File

@ -27,16 +27,16 @@
#define USBD_PRODUCT_STRING "SP Racing F4 NEO"
#if (SPRACINGF4NEO_REV >= 3)
#define LED0 PA0
#define LED1 PB1
#define LED0_PIN PA0
#define LED1_PIN PB1
#endif
#if (SPRACINGF4NEO_REV == 2)
#define LED0 PB9
#define LED1 PB2
#define LED0_PIN PB9
#define LED1_PIN PB2
#endif
#if (SPRACINGF4NEO_REV == 1)
#define LED0 PB9
#define LED1 PB2
#define LED0_PIN PB9
#define LED1_PIN PB2
#endif
#define BEEPER PC15

View File

@ -31,9 +31,9 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PE8 // Blue LEDs - PE8/PE12
#define LED0_PIN PE8 // Blue LEDs - PE8/PE12
#define LED0_INVERTED
#define LED1 PE10 // Orange LEDs - PE10/PE14
#define LED1_PIN PE10 // Orange LEDs - PE10/PE14
#define LED1_INVERTED
#define BEEPER PD12

View File

@ -22,8 +22,8 @@
#define TARGET_BOARD_IDENTIFIER "TFSH" // http://fishpepper.de/projects/tinyFISH
#define LED0 PC14
#define LED1 PA13
#define LED0_PIN PC14
#define LED1_PIN PA13
#define BEEPER PC15
#define BEEPER_INVERTED

View File

@ -22,7 +22,7 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0 PC14
#define LED0_PIN PC14
#define BEEPER PC15
#define BEEPER_INVERTED

View File

@ -21,9 +21,9 @@
#define USBD_PRODUCT_STRING "YupiF4"
#define LED0 PB6
#define LED1 PB4
#define LED2 PB5
#define LED0_PIN PB6
#define LED1_PIN PB4
#define LED2_PIN PB5
#define BEEPER PC9
#define BEEPER_PWM_HZ 2200 // Beeper PWM frequency in Hz