How do I create a line graph which is a summation of 6 sensors, as well as real-time bar charts for the 6 sensors individually
Hi there, pretty new to the whole programming world, this is my arduino code that works great with my sensors, but I'm not sure how I would turn it into graphical form, any help? I need bar charts for each individual sensor, and if possible a summation of all of them for a line graph vs time
int analogPin1 = 0;
int analogPin2 = 1;
int analogPin3 = 2;
int analogPin4 = 3;
int analogPin5 = 4;
int analogPin6 = 5;
int val = 0;
void setup() {
Serial.begin(115200);
}
void loop() {
val = analogRead(analogPin1); // read the input pin
Serial.println(val); // debug value
val = analogRead(analogPin2); // read the input pin
Serial.println(val); // debug value
val = analogRead(analogPin3); // read the input pin
Serial.println(val); // debug value
val = analogRead(analogPin4); // read the input pin
Serial.println(val); // debug value
val = analogRead(analogPin5); // read the input pin
Serial.println(val); // debug value
val = analogRead(analogPin6); // read the input pin
Serial.println(val); // debug value
delay(250);
}