2020-08-23 15:14:04 +02:00
|
|
|
// This file is copied from https://github.com/davidcutting42/ArduinoTimers
|
|
|
|
// All Credit and copyright David Cutting
|
|
|
|
// The files included below come from the same source.
|
|
|
|
// This library had been included with the DCC code to avoid issues with
|
|
|
|
// library management for inexperienced users. "It just works (TM)"
|
2020-11-20 14:34:36 +01:00
|
|
|
|
2020-08-23 15:14:04 +02:00
|
|
|
#ifndef ArduinoTimers_h
|
|
|
|
#define ArduinoTimers_h
|
|
|
|
|
2020-11-16 00:21:25 +01:00
|
|
|
#if defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560)
|
2020-11-20 14:34:36 +01:00
|
|
|
#include "ATMEGA2560/Timer.h"
|
2020-08-23 15:14:04 +02:00
|
|
|
#elif defined(ARDUINO_AVR_UNO)
|
2020-11-20 14:34:36 +01:00
|
|
|
#include "ATMEGA328/Timer.h"
|
2020-12-08 19:01:22 +01:00
|
|
|
#elif defined(ARDUINO_AVR_UNO_WIFI_DEV_ED)
|
2020-11-20 14:34:36 +01:00
|
|
|
#include "ATMEGA4809/Timer.h"
|
2020-08-23 15:14:04 +02:00
|
|
|
#else
|
2020-11-20 14:34:36 +01:00
|
|
|
#error "Cannot compile - ArduinoTimers library does not support your board, or you are missing compatible build flags."
|
2020-08-23 15:14:04 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|