diff --git a/examples/randomNumbers-IoT/randomNumbers-IoT.ino b/examples/randomNumbers-IoT/randomNumbers-IoT.ino deleted file mode 100644 index 3f5f20c..0000000 --- a/examples/randomNumbers-IoT/randomNumbers-IoT.ino +++ /dev/null @@ -1,13 +0,0 @@ -#include - -void setup() { - PhyphoxBLE::start(); //Start the BLE server -} - -void loop() { - float randomNumber = random(0,100); //Generate random number in the range 0 to 100 - PhyphoxBLE::write(randomNumber); //Send value to phyphox - delay(50); //Shortly pause before repeating - - PhyphoxBLE::poll(); //IMPORTANT: In contrast to other devices, poll() needs to be called periodically on the 33 IoT -} diff --git a/examples/randomNumbers-IoT/randomNumbersIoT.ino b/examples/randomNumbers-IoT/randomNumbersIoT.ino deleted file mode 100644 index 3f5f20c..0000000 --- a/examples/randomNumbers-IoT/randomNumbersIoT.ino +++ /dev/null @@ -1,13 +0,0 @@ -#include - -void setup() { - PhyphoxBLE::start(); //Start the BLE server -} - -void loop() { - float randomNumber = random(0,100); //Generate random number in the range 0 to 100 - PhyphoxBLE::write(randomNumber); //Send value to phyphox - delay(50); //Shortly pause before repeating - - PhyphoxBLE::poll(); //IMPORTANT: In contrast to other devices, poll() needs to be called periodically on the 33 IoT -} diff --git a/library.properties b/library.properties index 61e6eeb..44758f1 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=phyphox BLE -version=1.2.0 +version=1.2.1 author=RWTH Aachen University maintainer=Dominik Dorsel sentence=Use the app phyphox to visualize your sensor data on your phone or tablet! diff --git a/src/phyphoxBleExperiment.h b/src/phyphoxBleExperiment.h index 9c2f055..ba37e2d 100644 --- a/src/phyphoxBleExperiment.h +++ b/src/phyphoxBleExperiment.h @@ -4,6 +4,7 @@ #include #include "copyToMem.h" #include "defines.h" +#include class PhyphoxBleExperiment {