Any ideas why when I Serial.println the MDC variable it is getting messed up?
Yes. != or == is NOT how you compare strings. strcmp() is.
Any ideas why when I Serial.println the MDC variable it is getting messed up?
Yes. != or == is NOT how you compare strings. strcmp() is.