I thought about suggesting this, but the Nano is based on the AtMega328 like the Uno is, so if (!Serial) should not be needed.
I thought about suggesting this, but the Nano is based on the AtMega328 like the Uno is, so if (!Serial) should not be needed.