LittleBits: Activate Servo at Intervals

Good day,

A bit of a coding amateur, but was wondering what the best code is to programme LittleBits. Its basically a battery power connected to the Arduino board connected to the servo.

Aiming to activate the my servo at 20 minute intervals, for a period of about 5 seconds? Is the millis() function ideal? Saw some samples online but they are just for LEDs not Servos. ><

Help would be appreciated! Many thanks!

Good day,

A bit of a coding amateur, and just want to get something working for my school project. I was wondering what the best code is to programme my LittleBits servo. (Its basically a battery power connected to the Arduino board connected to the servo. )

Aiming to activate the my servo at 20 minute intervals, for a period of about 5 seconds? Is the millis() function ideal? Saw some samples online but they are just for LEDs not Servos.

Also how may I manipulate the time intervals? Would that be in seconds?

Such as this https://www.arduino.cc/en/Tutorial/BlinkWithoutDelay

Help would be appreciated! Many thanks!

DON'T CROSS POST!!!!!!!!!!!!!!!!!!!!
http://forum.arduino.cc/index.php?topic=505361
I HAVE REPORTED THIS THREAD TO THE MODERATORS
And really, the first thread you created is pretty similar:
http://forum.arduino.cc/index.php?topic=503701

This is pretty similar to your original thread:
http://forum.arduino.cc/index.php?topic=503701

Threads merged.