Hey,
I'm trying to write code to reliably flag power changes (send a signal to my phone when the house power goes down) using the interrupt mechanism.
I'm not using Arduino though so my code looks slitghtly different than the examples.
Sample output :
E (22:14:20.375) Power Interrupt: loop 0x8 BAT_CHG_OVER_TEMP_IRQ
E (22:14:21.373) Power Interrupt: loop 0x0
E (22:14:22.372) Power Interrupt: loop 0x0
E (22:14:23.371) Power Interrupt: loop 0x0
E (22:14:24.495) Power Interrupt: loop 0x10 GAUGE_NEW_SOC_IRQ
E (22:14:27.723) Power Interrupt: loop 0x8 BAT_CHG_OVER_TEMP_IRQ
E (22:14:28.722) Power Interrupt: loop 0x0
E (22:14:29.720) Power Interrupt: loop 0x0
E (22:14:30.719) Power Interrupt: loop 0x0
E (22:14:31.718) Power Interrupt: loop 0x0
E (22:14:32.716) Power Interrupt: loop 0x100000 BAT_CHG_DONE_IRQ
E (22:14:33.715) Power Interrupt: loop 0x0
E (22:14:34.839) Power Interrupt: loop 0x10 GAUGE_NEW_SOC_IRQ
E (22:14:35.629) Power Interrupt: loop 0x1000 BAT_REMOVE_IRQ
Hey, I'm trying to write code to reliably flag power changes (send a signal to my phone when the house power goes down) using the interrupt mechanism. I'm not using Arduino though so my code looks slitghtly different than the examples.
Sample output :
What could be causing this ?
FYI https://sourceforge.net/p/lilygo-t-sim-7080-s3/code/HEAD/tree/trunk/webserver/