Posted on

What is millis()?

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 thoughts on “What is millis()?

  1. Have you used Broadlink?

    Can you review and use with sonoff?

    1. I’ve ordered one, but it hasn’t arrived yet.

Leave a Reply

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