I don't know where you got this code from, but typically we avoid using the C++ String class in Arduino code for various reasons.
See (for instance)
I don't know where you got this code from, but typically we avoid using the C++ String class in Arduino code for various reasons.
See (for instance)