Hi everyone.
what's wrong of this line: Serial.print("A", 1, "B");
?
Thanks
Adam
Serial print expects a single parameter... you are trying to pass it 3.
You could use sprintf to create a single formatted string and then print that.
char buffer[40];
sprintf(buffer, "A = %s, Integer value = %d, B = %s" A, 1, B);
Serial.println(buffer);
1 Like
Great!
Thank you.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.