Hey guys! Yes currently the pin map for the P1 is loose because there is no reference design at the moment for it like there is with the P0 (on the Photon). The pin map for the P1 was directly copied from the Photon’s pin mapping. Since we already know what functions those pins on the P0 equate to, it’s easy to say you can write code on the P1 like digitalWrite(D0, HIGH) and it’s going to set P1 module pin 36 (MICRO_I2C1_SDA) high.
You can change the mode of the TX pin very easily… just use in code like this:
analogWrite(TX, 127); // 50% PWM
The SPARE1 through SPARE6 pins will definitely get a better name… to be determined. And their functions will be explained more thoroughly like the photon-pinmap: