Using Serial2 results in undefined behaviour

Serial2 on the photon shares pins with the RGB LED, not D0/D1 on the Core. Sorry for the misinformation - I've filed an issue to have the docs updated.