int x = 20;
void setup() {
Serial.begin(9600);
}
void loop() {
float arg = 123.456
send(123.456);
delay(500);
}
void send(float data1) {
Serial.println(data1);
String data = String(data1);
Serial.println(data);
/*
Serial.write("A");
for ( auto num : data ) {
Serial.write(num);
delay(x);
}
Serial.write("a");
*/
}