@ -72,6 +72,7 @@
# define SENSOR_SUPPORT 0
# define TERMINAL_SERIAL_SUPORT 0
# define THINGSPEAK_SUPPORT 0
# define UART_SUPPORT 0
# define WEB_SUPPORT 0
# define DEBUG_TELNET_SUPPORT 1
@ -111,6 +112,7 @@
# define SENSOR_SUPPORT 0
# define TERMINAL_SERIAL_SUPORT 0
# define THINGSPEAK_SUPPORT 0
# define UART_SUPPORT 0
/ / Small webpage to upload the . bin
# define MDNS_SERVER_SUPPORT 0
@ -569,14 +571,19 @@
# define LED1_PIN 13
# define LED1_PIN_INVERSE 1
/ / Disable UART noise
# define DEBUG_SERIAL_SUPPORT 0
/ / Sensor uses UART
# define UART_SUPPORT 1
# define UART1_BAUDRATE 4800
# define UART1_TX_PIN GPIO_NONE
# define UART1_RX_PIN 3
/ / CSE7766
# ifndef CSE7766_SUPPORT
# define CSE7766_SUPPORT 1
# endif
# define CSE7766_RX_PIN 3
# define CSE7766_PORT 1
# elif defined(ITEAD_SONOFF_POW_R3)
@ -597,26 +604,33 @@
# define LED1_PIN 13
# define LED1_PIN_INVERSE 1
/ / Disable UART noise
# define DEBUG_SERIAL_SUPPORT 0
/ / Sensor uses UART0
# define UART_SUPPORT 1
# define UART1_BAUDRATE 4800
# define UART1_TX_PIN GPIO_NONE
# define UART1_RX_PIN 3
/ / CSE7766
# ifndef CSE7766_SUPPORT
# define CSE7766_SUPPORT 1
# endif
# define CSE7766_RX_PIN 3
# elif defined(ITEAD_SONOFF_DUAL)
/ / Info
# define MANUFACTURER "ITEAD"
# define DEVICE "SONOFF_DUAL"
# define SERIAL_BAUDRATE 19230
/ / LEDs
# define LED1_PIN 13
# define LED1_PIN_INVERSE 1
/ / Device uses serial port to control relays
# define UART1_BAUDRATE 19230
# define UART1_TX_PIN 1
# define UART1_RX_PIN 3
/ / Relays
# define RELAY_PROVIDER_DUAL_SUPPORT 1
@ -627,9 +641,6 @@
/ / " Buttons " are attached to a secondary MCU and RELAY_PROVIDER_DUAL handles that
# define BUTTON_PROVIDER_GPIO_SUPPORT 0
/ / Conflicts with relay operation
# define DEBUG_SERIAL_SUPPORT 0
# elif defined(ITEAD_SONOFF_DUAL_R2)
# define MANUFACTURER "ITEAD"
@ -852,18 +863,15 @@
# define RFB_SUPPORT 1
/ / When using un - modified harware , ESPurna communicates with the secondary
/ / MCU EFM8BB1 via UART at 19200 bps so we need to change the speed of
/ / the port and remove UART noise on serial line
/ / When using un - modified harware , we communicate with EFM8BB1 MCU
/ / using the UART connection ( needs to be configured to 19200 bps )
# ifndef RFB_PROVIDER
# define RFB_PROVIDER RFB_PROVIDER_EFM8BB1
# endif
# ifndef DEBUG_SERIAL_SUPPORT
# define DEBUG_SERIAL_SUPPORT 0
# endif
# define SERIAL_BAUDRATE 19200
# define UART1_BAUDRATE 19200
# define UART1_TX_PIN 1
# define UART1_RX_PIN 3
/ / Only used when RFB_PROVIDER is RCSWITCH
# define RFB_RX_PIN 4
@ -1038,12 +1046,15 @@
# define LED1_PIN 13
# define LED1_PIN_INVERSE 1
/ / Disable UART noise
# define DEBUG_SERIAL_SUPPORT 0
/ / Sensor uses UART0
# define UART_SUPPORT 1
# define UART1_BAUDRATE 4800
# define UART1_TX_PIN GPIO_NONE
# define UART1_RX_PIN 3
/ / CSE7766
# define CSE7766_SUPPORT 1
# define CSE7766_RX_PIN 3
# elif defined(ITEAD_SONOFF_S31_LITE)
@ -1434,7 +1445,7 @@
# define DEVICE "ZJ_WFMN_C_11"
# define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER
/ / Buttons
/ / Buttons
# define BUTTON1_PIN 0
# define BUTTON1_CONFIG BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
# define BUTTON1_RELAY 1
@ -1493,8 +1504,10 @@
# define MANUFACTURER "HUACANXING"
# define DEVICE "H801"
# define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER
# define DEBUG_PORT Serial1
# define SERIAL_RX_ENABLED 1
/ / Debug
# define UART1_TX_PIN 2
# define UART2_RX_PIN GPIO_NONE
/ / LEDs
# define LED1_PIN 5
@ -1513,8 +1526,10 @@
# define MANUFACTURER "HUACANXING"
# define DEVICE "H802"
# define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER
# define DEBUG_PORT Serial1
# define SERIAL_RX_ENABLED 1
/ / Debug
# define UART1_TX_PIN 2
# define UART2_RX_PIN GPIO_NONE
/ / Light
# define LIGHT_CH1_PIN 12 / / RED
@ -1749,8 +1764,16 @@
/ / V9261F
# define V9261F_SUPPORT 1
# define V9261F_PIN 2
# define V9261F_PIN_INVERSE 1
/ / UART only reads data
# define UART_SUPPORT 1
# define UART1_BAUDRATE 4800
# define UART1_TX_PIN GPIO_NONE
# define UART1_RX_PIN 3
# define UART1_INVERSE 1
# define V9261F_PORT 1
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / ECH1560
@ -1779,10 +1802,23 @@
# define MANUFACTURER "GENERIC"
# define DEVICE "PZEM004T"
# define PZEM004T_SUPPORT 1
# define PZEM004T_SUPPORT 1
# define ALEXA_SUPPORT 0
# define DEBUG_SERIAL_SUPPORT 0
# define ALEXA_SUPPORT 0
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / PZEM004TV30
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# elif defined(GENERIC_PZEM004TV30)
/ / Info
# define MANUFACTURER "GENERIC"
# define DEVICE "PZEM004TV30"
# define PZEM004TV30_SUPPORT 1
# define ALEXA_SUPPORT 0
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / ESP - 01 generic esp8266 board with 512 kB flash
@ -1839,10 +1875,10 @@
/ / DS18B20
# ifndef DALLAS_SUPPORT
# define DALLAS_SUPPORT 1
# define DALLAS_SUPPORT 1
# endif
# define DALLAS_PIN 2
# define DALLAS_UPDATE_INTERVAL 5000
# define DALLAS_PIN 2
# define DALLAS_UPDATE_INTERVAL 5000
# define TEMPERATURE_MIN_CHANGE 1.0
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -2000,7 +2036,7 @@
/ / LEDs
# define LED1_PIN 4 / / BLUE
# define LED1_PIN_INVERSE 0
# define LED2_PIN 5 / / RED
# define LED2_PIN 5 / / RED
# define LED2_PIN_INVERSE 1
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -2183,11 +2219,17 @@
# define MANUFACTURER "STM_RELAY"
# define DEVICE "2CH"
/ / UART
# define UART_SUPPORT 1
# define UART1_TX_PIN 1
# define UART1_RX_PIN 3
/ / Relays
# define RELAY_PROVIDER_STM_SUPPORT 1
# define RELAY_PROVIDER_STM_PORT 1
# define RELAY1_PROVIDER RELAY_PROVIDER_STM
# define RELAY2_PROVIDER RELAY_PROVIDER_STM
# define RELAY1_PROVIDER RELAY_PROVIDER_STM
# define RELAY2_PROVIDER RELAY_PROVIDER_STM
/ / Make sure we space out serial writes when relays are in sync . ref :
/ / - https : / / github . com / xoseperez / espurna / issues / 1130
@ -2195,10 +2237,6 @@
/ / - https : / / github . com / xoseperez / espurna / pull / 1520
# define RELAY_DELAY_INTERLOCK 100
/ / Remove UART noise on serial line
/ / ( or use ` # define DEBUG_PORT Serial1 ` instead )
# define DEBUG_SERIAL_SUPPORT 0
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Tonbux Powerstrip02
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -2209,6 +2247,9 @@
# define MANUFACTURER "TONBUX"
# define DEVICE "POWERSTRIP02"
/ / Disable UART noise since this board uses GPIO3
# define UART_SUPPORT 0
/ / Buttons
# define BUTTON1_PIN 5
# define BUTTON1_CONFIG BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
@ -2314,7 +2355,7 @@
# define HLW8012_VOLTAGE_R_UP ( 2 * 1000000 ) / / Upstream voltage resistor
/ / LED1 on RX pin
# define DEBUG_SERIAL_SUPPORT 1
# define UART1_RX_PIN GPIO_NONE
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Maxcio W - DE004
@ -2417,6 +2458,9 @@
# define MANUFACTURER "YIDIAN"
# define DEVICE "XSSSA05"
/ / Disable UART noise since this board uses GPIO3
# define UART_SUPPORT 0
/ / Buttons
# define BUTTON1_PIN 13
# define BUTTON1_CONFIG BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
@ -2748,9 +2792,8 @@
# define MANUFACTURER "ZHILDE"
# define DEVICE "44EU_W"
/ / Based on the reporter , this product uses GPIO1 and 3 for the button
/ / and onboard LED , so hardware serial should be disabled . . .
# define DEBUG_SERIAL_SUPPORT 0
/ / Disable UART noise since this board uses GPIO1 and GPIO3
# define UART_SUPPORT 0
/ / Buttons
# define BUTTON1_PIN 3
@ -2784,7 +2827,7 @@
/ / Based on https : / / templates . blakadder . com / ZLD64 - EU - W . html ,
/ / This product uses GPIO1 for LED and 3 for the button , so hardware serial should be disabled . . .
# define DEBUG_SERIAL_SUPPORT 0
# define UART_SUPPORT 0
# define BUTTON1_PIN 3
# define BUTTON1_CONFIG BUTTON_PUSHBUTTON | BUTTON_SET_PULLUP | BUTTON_DEFAULT_HIGH
@ -3048,7 +3091,7 @@
# define DEVICE "ZLD_34EU"
/ / Disable UART noise since this board uses GPIO3
# define DEBUG_SERIAL_SUPPORT 0
# define UART_SUPPORT 0
/ / Buttons
# define BUTTON1_PIN 16
@ -3086,7 +3129,6 @@
# define LED3_RELAY 3
# define LED4_RELAY 4
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Bruno Horta ' s OnOfre
/ / https : / / www . bhonofre . pt /
@ -3205,7 +3247,7 @@
# define HLW8012_INTERRUPT_ON FALLING
/ / BUTTON1 and LED1 are using Serial pins
# define DEBUG_SERIAL_SUPPORT 0
# define UART_SUPPORT 0
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Similar to both devices above but also with switchable USB ports
@ -3240,14 +3282,19 @@
# define LED2_MODE LED_MODE_FINDME
# define LED2_RELAY 1
/ / Disable UART noise
# define DEBUG_SERIAL_SUPPORT 0
/ / Sensor works through serial port
# define UART_SUPPORT 1
# define UART1_BAUDRATE 4800
# define UART1_TX_PIN GPIO_NONE
# define UART1_RX_PIN 3
/ / CSE7766
# ifndef CSE7766_SUPPORT
# define CSE7766_SUPPORT 1
# define CSE7766_SUPPORT 1
# endif
# define CSE7766_RX_PIN 3
# define CSE7766_PORT 1
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Teckin SP21
@ -3272,7 +3319,6 @@
# define LED1_PIN 2
# define LED1_PIN_INVERSE 1
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Teckin SP22 v1 .4 - v1 .6
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -3315,7 +3361,7 @@
# define HLW8012_INTERRUPT_ON FALLING
/ / BUTTON1 and LED1 are using Serial pins
# define DEBUG_SERIAL_SUPPORT 0
# define UART_SUPPORT 0
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Teckin SP22 v1 .4 - v1 .6
@ -3432,7 +3478,7 @@
# define LED1_PIN_INVERSE 1
/ / LED1 is using TX pin
# define DEBUG_SERIAL_SUPPORT 0
# define UART_SUPPORT 0
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Power socket 16 A similar to BLITZWOLF_BWSHPX but button pin differs
@ -3478,8 +3524,8 @@
# define HLW8012_INTERRUPT_ON FALLING
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Power strip 15 A - 3 Sockets + 3 USB ports
/ / This device uses just one digital button ( main one ) . All other three buttons are connected
/ / Power strip 15 A - 3 Sockets + 3 USB ports
/ / This device uses just one digital button ( main one ) . All other three buttons are connected
/ / to the ADC pin via resistors with different values . This approach is known under the name of
/ / " Resistor Ladder " - https : / / en . wikipedia . org / wiki / Resistor_ladder
/ / https : / / www . amazon . de / - / en / gp / product / B085XXCPRD
@ -3491,14 +3537,10 @@
# define MANUFACTURER "GOSUND"
# define DEVICE "P1"
/ / Enable this to view buttons analog level .
/ / Or , use adc terminal command
/ / # define ANALOG_SUPPORT 1
/ / Disable UART noise
# define DEBUG_SERIAL_SUPPORT 0
/ / Buttons
# define BUTTON_PROVIDER_GPIO_SUPPORT 1
# define BUTTON_PROVIDER_ANALOG_SUPPORT 1
@ -3531,11 +3573,19 @@
/ / LEDs
# define LED1_PIN 2
# define LED1_PIN_INVERSE 1
# define LED1_PIN_INVERSE 1
/ / Sensor uses UART0
# define UART_SUPPORT 1
# define UART1_BAUDRATE 4800
# define UART1_TX_PIN GPIO_NONE
# define UART1_RX_PIN 3
/ / CSE7766
# define CSE7766_SUPPORT 1
# define CSE7766_RX_PIN 3
# define CSE7766_PORT 1
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Homecube 16 A is similar but some pins differ and it also has RGB LEDs
@ -3619,9 +3669,6 @@
# define LED2_MODE LED_MODE_FINDME
# define LED2_RELAY 1
/ / Disable UART noise
# define DEBUG_SERIAL_SUPPORT 0
/ / HJL01 / BL0937
# ifndef HLW8012_SUPPORT
# define HLW8012_SUPPORT 1
@ -3630,6 +3677,9 @@
# define HLW8012_CF1_PIN 14
# define HLW8012_CF_PIN 5
/ / Disable UART noise
# define UART_SUPPORT 0
# define HLW8012_SEL_CURRENT LOW
# define HLW8012_CURRENT_RATIO 25740
# define HLW8012_VOLTAGE_RATIO 313400
@ -4342,7 +4392,12 @@
/ / Info
# define MANUFACTURER "FOXEL"
# define DEVICE "LIGHTFOX_DUAL"
# define SERIAL_BAUDRATE 19200
# define UART1_BAUDRATE 19200
# define UART1_TX_PIN 1
# define UART1_RX_PIN 3
# define LIGHTFOX_PORT 1
/ / Relays
# define LIGHTFOX_RELAYS 2
@ -4360,9 +4415,6 @@
# define BUTTON3_RELAY 2
# define BUTTON4_RELAY 1
/ / Conflicts with relay operation
# define DEBUG_SERIAL_SUPPORT 0
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Teckin SP20
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -4522,13 +4574,17 @@
# define TUYA_SUPPORT 1
# define LIGHT_PROVIDER LIGHT_PROVIDER_CUSTOM
# define TUYA_PORT 1
# define UART1_BAUDRATE 9600
# define UART1_TX_PIN 1
# define UART1_RX_PIN 3
# define LED1_GPIO 14
# define TUYA_CH_STATE_DPID 1
# define TUYA_CH1_DPID 2
# define DEBUG_SERIAL_SUPPORT 0
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Etekcity ESW01 - USA
/ / https : / / www . amazon . com / Etekcity - Voltson - Outlet - Monitoring - Required / dp / B01M3MYIFS
@ -4583,6 +4639,7 @@
# define DEVICE "UAP1"
/ / Inputs
# define DIGITAL_SUPPORT 1
# define DIGITAL1_PIN 4
# define DIGITAL2_PIN 5
@ -4601,7 +4658,7 @@
# define LED1_PIN 2
/ / Disable UART noise
# define DEBUG_SERIAL_SUPPORT 0
# define UART_SUPPORT 0
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / TFLAG NX - SM100 & NX - SM200
@ -4764,9 +4821,12 @@
# define LED1_PIN 13
# define LED1_PIN_INVERSE 1
/ / KINGART module handles the UART , can ' t print any debug messages
# define KINGART_CURTAIN_SUPPORT 1
# define DEBUG_SERIAL_SUPPORT 0
# define KINGART_CURTAIN_PORT 1
# define UART1_BAUDRATE 19200
# define UART1_TX_PIN 1
# define UART1_RX_PIN 3
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / LSC Smart LED Light Strip ( Smart CXonnect Series ) available ACTION ( Germany )
@ -4862,9 +4922,8 @@
# define MANUFACTURER "NEDIS"
# define DEVICE "WIFIP310FWT"
/ / Based on the reporter , this product uses GPIO1 and 3 for the button
/ / and onboard LED , so hardware serial should be disabled . . .
# define DEBUG_SERIAL_SUPPORT 0
/ / Disable UART noise since this board uses GPIO1 and GPIO3
# define UART_SUPPORT 0
/ / Buttons
# define BUTTON1_PIN 3
@ -4917,6 +4976,9 @@
# define MANUFACTURER "ARLEC"
# define DEVICE "PB89HA"
/ / Disable UART noise since this board uses GPIO1 and GPIO3
# define UART_SUPPORT 0
/ / Buttons
# define BUTTON1_PIN 3
# define BUTTON1_CONFIG BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
@ -5041,7 +5103,7 @@
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / Mirabella Genio White A60
/ / https : / / www . woolworths . com . au / shop / productdetails / 877102 / mirabella - smart - led - gls - es - 9 w - cool - white
/ / Like https : / / www . mirabellagenio . com . au / product - range / mirabella - genio - wi - fi - dimmable - 9 w - led - gls - bulb /
/ / Like https : / / www . mirabellagenio . com . au / product - range / mirabella - genio - wi - fi - dimmable - 9 w - led - gls - bulb /
/ / but in cardboard box , Item # I002604
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -5073,6 +5135,9 @@
# define MANUFACTURER "YAGUSMART"
# define DEVICE "TOUCH_HWMOD_1G"
/ / Disable UART noise since this board uses GPIO3
# define UART_SUPPORT 0
# define BUTTON1_CONFIG BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
# define BUTTON1_PIN 3
# define BUTTON1_RELAY 1
@ -5091,12 +5156,13 @@
# define LED1_PIN_INVERSE 1
# define LED1_MODE LED_MODE_WIFI
# define DEBUG_SERIAL_SUPPORT 0
# elif defined(YAGUSMART_TOUCH_HWMOD_2G)
# define MANUFACTURER "YAGUSMART"
# define DEVICE "TOUCH_HWMOD_2G"
/ / Disable UART noise since this board uses GPIO3
# define UART_SUPPORT 0
# define BUTTON1_CONFIG BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
# define BUTTON1_PIN 3
# define BUTTON1_RELAY 1
@ -5128,12 +5194,13 @@
# define LED1_PIN_INVERSE 1
# define LED1_MODE LED_MODE_WIFI
# define DEBUG_SERIAL_SUPPORT 0
# elif defined(YAGUSMART_TOUCH_HWMOD_3G)
# define MANUFACTURER "YAGUSMART"
# define DEVICE "TOUCH_HWMOD_3G"
/ / Disable UART noise since this board uses GPIO1 and GPIO3
# define UART_SUPPORT 0
# define BUTTON1_CONFIG BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH | BUTTON_SET_PULLUP
# define BUTTON1_PIN 12
# define BUTTON1_PRESS BUTTON_ACTION_TOGGLE
@ -5175,8 +5242,6 @@
# define LED1_PIN_INVERSE 1
# define LED1_MODE LED_MODE_WIFI
# define DEBUG_SERIAL_SUPPORT 0
# else
# error "UNSUPPORTED HARDWARE!!"