xoseperez / hlw8012

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

Zero values when using this library for ESP32 #31

Closed whuizdis closed 2 years ago

whuizdis commented 2 years ago

Hello, Im using this HLW8012 library with my ESP32 but somehow not able to get the values for Current/Voltage/Power :( I tried both Interrupt based as well as Continuous value read methods yet no success. Did anyone use that library with ESP32? Do I need to modify anything to make it work for ESP32? Have not got any compile /run time issues. Always getting value as 0, Verified with debugs and im going inside all the functions.

whuizdis commented 2 years ago

Closing this as issue was with a specific ESP32, somehow!