#include <Sparki.h> // include the sparki library
void setup()
{
sparki.servo(0);
for (int i = 0; i < 10; i=i+1)
{
sparki.moveRight(40);
delay(200000);
sparki.moveLeft(40);
delay(200000);
sparki.moveRight(40);
delay(200000);
sparki.moveLeft(40);
delay(200000);
}
}
void loop()
{
}
I made a bracket
for Sparki to hold
an old smartphone
on which I can access
the camera and video
from my own smartphone
via wifi. I wrote this
code to test how long
Sparki could run a simple
program for and to keep
the camera moving at
regular intervals.
This worked really well
and I was impressed with
the results.
Sparki easily managed
the two hours.

Like this:
Like Loading...
Related
This is cool! 🙂
LikeLike