What is millis()?

Posted on February 25th, 2017

If you have been working with Arduino for long enough you may have come across the millis function 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

Want to keep in the loop about the latest in home automation? Subscribing to SuperHouse Automation on YouTube is the best place to start!

Inspired to start work on this project? Are you working on a project you would like us to feature in this blog? The team at SuperHouse Automation would love to know! Tell us about it in the comments section below or on Facebook and Twitter.

2 responses to “What is millis()?”

  1. Pablo Nieto Seron says:

    Have you used Broadlink?

    Can you review and use with sonoff?

Leave a Reply to Jonathan Oxer Cancel reply

Your email address will not be published. Required fields are marked *