Send message on button start AND end #1

Open
opened 4 months ago by StephanRichter · 0 comments
Owner

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: 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.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.