46
ATZB-EVB-XXX-XXX User Manual
AVR-09-2011
10.9 Minimum Application
Source Code
/*********************************************
**************
blink.c
Blink application.
Written by V.Marchenko
**********************************************
*************/
#include "appTimer.h"
#ifdef _SLIDERS_
#include "sliders.h"
#endif //#ifdef _SLIDERS_
#ifdef _BUTTONS_
#include "buttons.h"
#endif //#ifdef _BUTTONS_
#ifdef _LEDS_
#include "leds.h"
#endif //#ifdef _LEDS_
#include "zdo.h"
#ifndef BLINK_PERIOD
#define BLINK_PERIOD 1000 // Initial blink
period, ms.
#endif
#ifndef MIN_BLINK_PERIOD
#define MIN_BLINK_PERIOD 100 // Minimum blink
period, ms.
#endif
#ifndef MAX_BLINK_PERIOD
#define MAX_BLINK_PERIOD 10000 // Maximum
blink period, ms.
#endif