Currently, only the release of a button is sent together with the button press duration.
For many applications, it would be helpful to send two messages:
when the button is pressed, e.g. {nano:1,btn:1,ms:0}
when the button is released, e.g. {nano:1,btn:1,ms:523}
This is not as simple as it sounds:
The release event will probably be triggerd while the device is busy sending the first message.
Currently, only the release of a button is sent together with the button press duration.
For many applications, it would be helpful to send two messages:
1. when the button is pressed, e.g. `{nano:1,btn:1,ms:0}`
2. when the button is released, e.g. `{nano:1,btn:1,ms:523}`
This is not as simple as it sounds:
The release event will probably be triggerd while the device is busy sending the first message.
Currently, only the release of a button is sent together with the button press duration.
For many applications, it would be helpful to send two messages:
{nano:1,btn:1,ms:0}
{nano:1,btn:1,ms:523}
This is not as simple as it sounds:
The release event will probably be triggerd while the device is busy sending the first message.