I congratulate you for the great project!
Can anyone compile a flash for DIGOO DG-SP202?
I copy GPIOs from the Tasmota
Code: Select all
{ "Digoo DG-SP202", // Digoo DG-SP202
// https://www.banggood.com/DIGOO-DG-SP202-Dual-EU-Plug-Smart-WIFI-Socket-Individual-Controllable-Energy-Monitor-Remote-Control-Timing-Smart-Home-Outlet-let-p-1375323.html
GPIO_KEY1, // GPIO00 Button1
0, // GPIO01 Serial RXD
0, // GPIO02
0, // GPIO03 Serial TXD
GPIO_HJL_CF, // GPIO04 BL0937 or HJL-01 CF power
GPIO_NRG_CF1, // GPIO05 BL0937 or HJL-01 CF1 current / voltage
// GPIO06 (SD_CLK Flash)
// GPIO07 (SD_DATA0 Flash QIO/DIO/DOUT)
// GPIO08 (SD_DATA1 Flash QIO/DIO/DOUT)
0, // GPIO09 (SD_DATA2 Flash QIO or ESP8285)
0, // GPIO10 (SD_DATA3 Flash QIO or ESP8285)
// GPIO11 (SD_CMD Flash)
GPIO_NRG_SEL_INV, // GPIO12 BL0937 or HJL-01 Sel output (0 = Voltage)
GPIO_LED1, // GPIO13 Blue Leds - Link Status
GPIO_REL2, // GPIO14 Relay2 (0 = Off, 1 = On) and Red Led
GPIO_REL1, // GPIO15 Relay1 (0 = Off, 1 = On) and Red Led
GPIO_KEY2_NP, // GPIO16 Button2, externally pulled up
0
}