[Solved] Double triple press , simple RF remote

#1

Hi can anyone give me an example for something that will count how many times my MQTT > RF > RF remote been pressed?

so let's say in a time frame of two seconds, i press it twice, i will get an MQTT msg in Node, and i will be able to count them

it will be cool if every press will extend the delay (time frame of two seconds)

thanks for any help!

0 Likes

#2

found this code ...
can anyone think of a way to make the delay reset for every press i get?

0 Likes

#3

Marking this as solved the code is good , RF is shit

Talking to myself here hhh :slight_smile:

0 Likes