February 19, 2017

Skill Sunday: What is millis()?

If you have been working with Arduino for long enough you may have come across the millis function in example code you have been working with and have probably wondered what it was used for! The simple explanation is that millis returns the number of milliseconds since the Arduino sketch has been running. However, without further clarification it can be unclear how this would be useful! Fortunately John Boxall from Tronixlabs has written a great tutorial which explains the ins and outs of the millis function! Checkout the following link to find out more.

The crystal is an essential part of Arduino timing

Have you been reading about Arduino and would like to understand more? Checkout our Experimenter's Kit for Arduino - as used in many classroom and learning environments:

Experimenter's Kit

The package includes a wide variety of parts, sensors and modules including: a servo motor, lights, buttons, switches, sound, sensors, breadboard, wires and more. Furthermore a Freetronics Eleven Arduino-compatible board is included to make this an extensive hobby experimenter, inventor and starter kit. The kit also includes a great project and instruction booklet, plus access to a supporting web page and software examples. To get started or for more information and to order, check out the product page!

To keep up to date with the latest news, projects, product announcements  and to let us know what you think of this project follow us on Facebook and Twitter.

Leave a comment

Comments have to be approved before showing up.