I tried interfacing HLW8O32 with ESP32 but I was not getting the output in expected format. It was clearly GARBAGE values. And what we could conclude that the SearlReadLoop() function was not executing. Can anyone please help me with this.
When I was debugging, I found that if(SerialTemps[1] != 0x5A) jumped out when the program was executed to this step.
After reading the documentation, it seems that the register is not detected.
I tried interfacing HLW8O32 with ESP32 but I was not getting the output in expected format. It was clearly GARBAGE values. And what we could conclude that the SearlReadLoop() function was not executing. Can anyone please help me with this.