Last active
December 1, 2015 04:14
-
-
Save michaellin/c136ceb6b85bd83125a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************************************************************** | |
Header file for Wrench Service | |
based on the Gen 2 Events and Services Framework | |
****************************************************************************/ | |
#ifndef WRENCHSERVICE_H | |
#define WRENCHSERVICE_H | |
#include "ES_Types.h" | |
// typedefs for the states | |
// State definitions for use with the query function | |
typedef enum { InitWrenchService, WaitingForStart, Wrench2Position, WrenchInPosition, PipeBurst} WrenchServiceState_t ; | |
// Public Function Prototypes | |
bool InitializeWrenchService ( uint8_t Priority ); | |
bool CheckWrenchEvents( void); | |
bool PostWrenchService( ES_Event ThisEvent ); | |
ES_Event RunWrenchService( ES_Event ThisEvent ); | |
void SetLED_Bin( void); | |
#endif /* WRENCHSERVICE_H */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment