two codes good combine fails

Not a Serial.print() in sight. How do you know what the code is doing?