Skip to content

hana/Arduino-MicroMetro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino MicroMetro

Simple metro working with microseconds.

Usage

Installation

  1. Download this Library and rename the folder name into "MicroMetro"
  2. Put Micrometro folder into your arduino "Libraries" folder.

Code

  1. Include Library
#include <MicroMetro.h>
  1. Create instance and set interval
MicroMetro metro = MicroMetro(1000000);	// 1000000us = 1 sec
  1. in Loop()...
if(metro.check()) {
 //do something here
}

LICENSE

These cods are licensed under CC-BY 4.0
CC BY

About

Microsecond metro library for Arduino

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages