Hardware

#define onModule_LED 2
#define relay1 12
#define relay2 13
#define onBoard_LED 16

AP demo code

  • https://github.com/Edragon/arduino-esp8266/tree/master/Sketchbook
  • BSP folder - NWI1139