When is a char array not a char array....?

Hi John, thanks for the reply.

Success means that strcmp() considers them to be identical and returns a 0, so

  if (!strcmp(topic, "occ/shed/po"))
    Serial.println("PWM Topic");

will print

PWMTopic

when both strings are identical