Created
December 1, 2015 03:58
-
-
Save michaellin/f937bafbf9ff73760416 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 | |
PipeSegment.h | |
Author: Margaret Coad | |
Date: 11/10/15 | |
****************************************************************************/ | |
#ifndef PipeSegment_H | |
#define PipeSegment_H | |
// Event Definitions | |
#include "ES_Configure.h" /* gets us event definitions */ | |
#include "ES_Types.h" /* gets bool type for returns */ | |
// typedefs for the states | |
// State definitions for use with the query function | |
typedef enum {BothPipesIn, Pipe1Out, Pipe2Out, InCelebration} PipeSegmentState_t ; | |
// Public Function Prototypes | |
bool InitPipeSegment ( uint8_t Priority ); | |
bool PostPipeSegment( ES_Event ThisEvent ); | |
ES_Event RunPipeSegment( ES_Event ThisEvent ); | |
#endif /* PipeSegment_H */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment