SPARKmini Usage
Electrical
The wires labelled "POWER" on the SPARK mini should be connected to +12 volts and ground. The wires labelled "POWER" are the output wires and connect to your motor. The SPARKmini does NOT have reverse polarity protection! Make sure the wires are connected properly. To control the motor controller, give a 3.3 or 5 volt PWM signal to the white wire of the 3-pin servo connector. The ground of the servo connector can be connected, but the red wire is disconnected from the controller. You do not need to supply it with separate power. The inside of the SPARKmini is shown below:

Firmware
{something about using the Servo or Motor.h classes} {maybe insert some screenshots too}