Particle Photon Dc Motor

Hi everyone,

I want to control dc motors. I use Particle Photon. But, i dont find any codes. Could you help me please ?