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.

Adding a value indicator below a graph BLE
it must be very simple. For my ESP32 Hall-Sensor I want to show the measured valut underneath the graph. Can anybody help, pease?


#include <phyphoxBle.h>

int AnalogPin=27;
float Messwert;
float Magnetfeld;

void setup() {
    PhyphoxBLE:Confusedtart("Magnetfeldsensor_01");                //Start the BLE server

    PhyphoxBleExperiment experiment;

    experiment.setCategory("Arduino Experiments");
    experiment.setDescription("Plot the magnetic field of a Hall sensor over time.");

    PhyphoxBleExperiment::View view;

    PhyphoxBleExperiment::Graph graph;
    graph.setLabel("B over time");

//  graph.setChannel(1,2);

    view.addElement(graph);                //Attach graph to view
    experiment.addView(view);              //Attach view to experiment
    PhyphoxBLE::addExperiment(experiment);  //Attach experiment to server


Messages In This Thread
Adding a value indicator below a graph BLE - by TorstenKlf - 10-26-2022, 12:29 PM

Forum Jump: