Skip to content

A library, mainly for Arduino clients, to generate timestamps (both UNIX and NTP) for given dates/times

Notifications You must be signed in to change notification settings

alve89/Timestamps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timestamps

A standalone library, mainly for Arduino clients, to generate timestamps (both UNIX and NTP) for given dates/times.

Purpose

You might want to use it in combination with the TimeLib to generate timestamps of either a date/time when the compiler ran or to generate offline timestamps as backup if your NTP server request fails (may be due to loss of internet connection).

Examples

You can find simple examples in the examples section.

Usage

The only thing you need to do is to include this library into your sketch:

  1. Download the latest version from releases
  2. Extract the archive and move the Timestamps folder to your ~/Arduino/libraries/ directory
  3. If your Arduino IDE is already running, restart it
  4. Include this library via Sketch->Include Library->Timestamps or simply by adding this row at the begin of your sketch: #include <Timestamps.h>
  5. You're ready to use it, have fun! Feel free to contact me if something doesn't work or you miss anything.

About

A library, mainly for Arduino clients, to generate timestamps (both UNIX and NTP) for given dates/times

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages