Skip to main content
4 of 7
added 3 characters in body
gin
  • 29
  • 3

I have this compilation error:
TimeSerial.ino:68:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if(Serial.find(TIME_HEADER)) { ^

Please replace this line: #define TIME_HEADER "T" // Header tag for serial time sync message

with this line: #define TIME_HEADER 'T'

and compilation goes well.

gin
  • 29
  • 3