void setup() {
// put your setup code here, to run once:
int x[] = {11,22,3333,44};
char buf[20];
Serial.begin(115200);
Serial.println("Starting");
String S = "A:" + String(x[0]) + " ," + String(x[1]) + " ," + String(x[2])+ " ," + String(x[3]);
Serial.println(S);
sprintf(buf, "A:%d, %d, %d, %d",x[0],x[1],x[2],x[3]);
Serial.println((buf));
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}