10-21-2022, 06:20 PM
Hey,
unfortunately there is no simple way right now (its already on our todo list). As a workaround you can do it this way:
Hope this is not too confusing . As an example, check the attached phyphox-file which lets the user select different measurement intervals of an external sensor module.
Cheers Dominik
unfortunately there is no simple way right now (its already on our todo list). As a workaround you can do it this way:
- if a button is pressed, write a 1 into a data-pressed-buffer
- an if-statement checks each analysis round if the data-pressed-buffer contains an 1
- if true: write the data you would like to transfer into the outgoing buffer
- if false: empty the outgoing buffer (if the outgoing buffer is empty - no data will be sent via ble)
- (re)set the data-pressed-buffer to 0 to prevent furter data transfers until the button was pressed again
Hope this is not too confusing . As an example, check the attached phyphox-file which lets the user select different measurement intervals of an external sensor module.
Cheers Dominik