ESP32 SetWatch?

Posted on
  • Has anyone gotten an interrupt or setWatch to work on the ESP32? And if so which pin(s)?

    I see a few comments online about issues with this feature. When I try on different pins it sometimes works or the device freezes. Is it maybe a wiring issue on my part? I tried a pullup & pulldown solution and no luck.

    Here's my code:

    setWatch(function(){
    console.log('trigger');
    },D14,{repeat:true,debounce:200});
    
  • In actual branch for ESP32 is a change in jshGetSystemTime() to fix problems with ESP32 internal time routine

  • Could you get it to master via a separate PR if that helps with the basic setWatch() stuff? It seems like quite some number of people are hitting this problem.

  • @wilberforce already did

  • Cool! Thank you! :)

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

ESP32 SetWatch?

Posted by Avatar for cmo @cmo

Actions