This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Custom experiment
#2
Hey,

there are currently 2 different options that might solve your problem:

A) you can add an "edit" field to your experiment, check the library example "getDataFromSmartphone"

B) if you just want to start a measurement or reset some values you can get the current number of connections with:


Code:
uint16_t activeConnections = PhyphoxBLE::currentConnections;

Unfortunately there is currently no way to get the "user-pressed-play moment" with the library right now.

Cheers
Dominik
Reply


Messages In This Thread
Custom experiment - by steplab - 04-13-2022, 03:28 PM
RE: Custom experiment - by Dominik Dorsel - 04-14-2022, 02:03 PM

Forum Jump: