Chat freely about anything...

User avatar
By j0hncc
#14366 Will it be possible to decode 200/400/600 uSec pulses using the Nodemcu gpio trigger event framework? Even while serving TCP connection as well?

For example, Handler pseudocode
Code: Select all  pwidth = now - last
  If pwidth > 500
      STATE= header
  If  pwidth  < 300 (microseconds)
      bits[bitno++] = 1
  else ( pwidth is between 300 and 500 )
      bits[bitno++] = 0
  If bitno >= 76
      STATE = done


Thanks!
John