0% found this document useful (0 votes)
127 views1 page

Lightsservice H

Uploaded by

api-340729449
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
127 views1 page

Lightsservice H

Uploaded by

api-340729449
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 1

/****************************************************************************

Header file for Morse Elements Service


based on the Gen 2 Events and Services Framework
****************************************************************************/
#ifndef LightsService_H
#define LightsService_H
// Event
#include
#include
#include
#include

Definitions
"ES_Configure.h" /* gets us event definitions */
"ES_Types.h"
/* gets bool type for returns */
"ES_Events.h"
"WeatherService.h" //to access the public variables

// typedefs for the states


// State definitions for use with the query function
typedef enum {Idle, Dawn, SunRising, SunSetting, Dusk, Night} LightsState_t ;
// Public Function Prototypes
bool InitLightsService ( uint8_t Priority );
bool PostLightsService( ES_Event ThisEvent );
ES_Event RunLightsService( ES_Event ThisEvent );
#endif /* LightsService_H */

You might also like