frame

Digital sensor debounce example fails

Hi, attempting to run the Digital sensor debounce example, compile on my NodeMCU virtual machine fails with:

[info] Linking...
[error] The following symbols are undefined:
[error] vhalSleepMicros
[error] vhalHtmGetFreeTimer
[error] vhalInitHTM
[error] Error in C natives [undefined symbols!] in [] at line 0
Tagged:

Comments

  • Hi robmarkcole,

    NodeMCU is not compatible with this example; try with Particle Photon, it should work.
    Matteo Cipriani
    Zerynth Support Team
  • Hi robmarkcole,

    The problem you got regards the hardware timers (which are included in the smart sensors library) not supported yet for NodeMCU v2 device; but if you need the debounce functionality you can also find it in the onPinRise() and onPinFall() built-in functions (link).

    Let me know :)
    Matteo Cipriani
    Zerynth Support Team
Sign In or Register to comment.

ZERYNTH Community

@ 2016 Zerynth.com, all rights reserved.