Currently I convert the characters in char received[20] to string using String randomString(received) and I am able to display it using Serial.println(randomString). After displaying the string, I would like to know the easiest way to clear out its contents.
How to clear of contents of string in Arduino?
adrian.wong
- 17
- 1
- 2
- 3