01-26-2023, 07:08 PM
Hey,
Jens got already a good starting point if I understand your question correctly. In case you dont know: It is possible to add an .phyphox file to your arduino sketch. Therefore you have to convert the .phyphox (or a zip file with one or multiple) file into an byte array and add it to the start function as we did in our CO2 project:
https://github.com/Dorsel89/phyphox-ardu...it.ino#L65 (check also line 75)
I know its ugly, but this way you can use all in phyphox available features and still store the experiment localy on your microcontroller without being limited by the library. If you dont know how to get the byte array you might want to take a look in the following java script (I know its ugly aswell, but since its rarely requested im too lazy to make a prober "public suitable" version ).
https://github.com/Dorsel89/ZipFileToByteArray
Cheers
Dominik
Jens got already a good starting point if I understand your question correctly. In case you dont know: It is possible to add an .phyphox file to your arduino sketch. Therefore you have to convert the .phyphox (or a zip file with one or multiple) file into an byte array and add it to the start function as we did in our CO2 project:
https://github.com/Dorsel89/phyphox-ardu...it.ino#L65 (check also line 75)
I know its ugly, but this way you can use all in phyphox available features and still store the experiment localy on your microcontroller without being limited by the library. If you dont know how to get the byte array you might want to take a look in the following java script (I know its ugly aswell, but since its rarely requested im too lazy to make a prober "public suitable" version ).
https://github.com/Dorsel89/ZipFileToByteArray
Cheers
Dominik