SparkServo.IO is the free web launcher for the SparkServo Project. Connect your SmartServo over USB, pick from the real CircuitPython programs it ships with, and press PLAY — then peek at the code to see exactly how it works.
The exact program your SmartServo shipped with — button, switch, servo, and light working together. Push this any time to undo a snippet below and restore factory behavior.
The same ten snippets included right in your SmartServo's code.py, ready to push one at a time.
Blinks the onboard light on and off — the simplest way to confirm your board is talking to your computer.
Lights up red when the switch is flipped on, and turns off when it's off.
Lights up red while the button is held down, and turns off when released.
Sets the onboard light to one fixed color you choose in the code.
Fades the onboard light up and down in a smooth breathing pattern.
Steps the servo through 0°, 90°, and 180°, pausing at each position.
Sweeps the servo smoothly back and forth across its full range.
Flip the switch to choose between a servo sweep and a fading light.
Each press of the button flips the servo between two positions.
A quick double-press swings the servo to a third position and back.
No buttons to find or press. Your SmartServo shows up as an ordinary USB drive named CIRCUITPY the moment it's plugged in — you can fix almost anything just by dragging files onto it, the same way you'd copy files to a flash drive.
code.py and the lib folder onto the CIRCUITPY drive, replacing what's already there.If no CIRCUITPY drive appears at all when it's plugged in, that's a hardware issue, not a code one — email Judson@WagnerLabs.net rather than trying to force a fix.
Ready for the next challenge, or want to see where this all leads?