Hi all !
I did not find a forum for Tinkercad. Maybe you can help me ?
How to add a caption on the chart along the x-axis in it? Thanks
Hi all !
I did not find a forum for Tinkercad. Maybe you can help me ?
How to add a caption on the chart along the x-axis in it? Thanks
inkercad forum at DuckDuckGo
There are tinkercad forums, in case you do not get an answer here.
Try this for an example:
int t = 0;
void setup() {
Serial.begin(9600);
delay(1000);
}
void loop() {
double a = sin(t / 100.0);
double b = cos(t / 110.0);
double c = sin(t / 50.0) + 1;
// spaces in the label will badly effect display
Serial.print("a"); Serial.print(a); Serial.print(", ");
Serial.print("b"); Serial.print(b); Serial.print(", ");
Serial.print("c"); Serial.print(c); Serial.print(", ");
Serial.println();
t++;
delay(40);
}
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.