arduino-test/test/test.ino
2026-04-27 01:01:41 +02:00

17 lines
241 B
C++

float v = 0;
float a = 0;
char buf[50];
void setup() {
Serial.begin(115200);
}
void loop() {
v = random(0, 5600) / 100.0;
a = random(0, 5000) / 100.0;
Serial.print(v, 2);
Serial.print(",");
Serial.println(a, 2);
delay(50);
}