Posts: 4
Threads: 1
Joined: Nov 2023
Institution: EKFE Rethymnon
I want to make an experiment with two buttons. When each one is pressed it will send a different integer via bluetooth, to the Arduino. I can't figure out how to combine the two buttons so that only the value of the last one pressed is sent. I'm trying to do using the editor because I'm not familiar with xml. Can you help me?
Posts: 547
Threads: 24
Joined: Apr 2020
Institution: RWTH Aachen University
Something like
https://phyphox.org/forums/showthread.ph...98#pid3198? (I am not entirely sure if our old editor can handle this file.)
The raw XML file might look scary, however, it is not that bad. The relevant “views” block is starting at
Code:
<view label="Interval">
and the trick is that all buttons write into the same container.
The example in that thread is a bit more complicated as the buttons should send the value only once rather than continuously…
Posts: 4
Threads: 1
Joined: Nov 2023
Institution: EKFE Rethymnon
Thanks I will check it.
We are looking forward to the new editor, is there any news?
Posts: 547
Threads: 24
Joined: Apr 2020
Institution: RWTH Aachen University
You could try the new editor at
https://phyphox.org/neweditor/, however, last week something was broken. I need to check if it has been fixed yet…
Posts: 4
Threads: 1
Joined: Nov 2023
Institution: EKFE Rethymnon
06-05-2024, 06:38 PM
(06-05-2024, 09:46 AM)Jens Noriʇzsɔɥ Wrote: You could try the new editor at https://phyphox.org/neweditor/, however, last week something was broken. I need to check if it has been fixed yet…
Thanks again