Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

a simple timer for arduino

Notifications You must be signed in to change notification settings

just-another-archive/timuino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timuino

Why

To have a non-blocking function call executed based on FPS.

How

  1. Include Timer.h : #include <Timer.h>
  2. Create a timer with the callback of choice : Timer timer = Timer(enterframe, 60);
  3. in the loop function, call on timer.tick()

Your enterframe function will be called every 60fps top.