Controling a brushless (drone) motor using the Photon

From the description of wire colours I think an ESC is being used, in which case its down to using PWM (via SOFTPWM lib) correctly as discussed in this thread. Also need to change pins as PWM is not available on D6.