xoseperez / hlw8012

HLW8012 library for Arduino and ESP8266 using the Arduino Core for ESP8266.
GNU General Public License v3.0
125 stars 48 forks source link

Nothing happens after uploading the code for sonoff pow #30

Open RamrajRS opened 2 years ago

RamrajRS commented 2 years ago

After successfully uploading the code with much difficulty, the hotspot mode does not turn on and even in serial monitor, nothing is displayed. To compile the code, I have changed the .ipp files into .hpp. And of course uncommented the necessary lines in /config/general.h

I added these libraries in the code in main.h:

include "AsyncEventSource.h"

include "AsyncJson.h"

include "AsyncWebSocket.h"

include "AsyncWebSynchronization.h"

include "ESPAsyncWebServer.h"

include "SPIFFSEditor.h"

include "StringArray.h"

include "WebAuthentication.h"

include "WebHandlerImpl.h"

include "WebResponseImpl.h"

include "hlw8012.h"

include "DebounceEvent.h"

include "ESPAsyncUDP.h"

Thanks in advance.