#ifndef ServoSM_H
#define ServoSM_H

// Event Definitions
#include "ES_Configure.h" /* gets us event definitions */
#include "ES_Types.h"     /* gets bool type for returns */
#include "ES_Events.h"

// typedefs for the states
typedef enum { ServoFWD, ServoReturn, 
               ServoWaitingForStart, ServoReturnStart } ServoState_t ;

// State definitions for use with the query function

// Function prototypes
bool InitServo ( uint8_t Priority );
bool PostServo ( ES_Event ThisEvent );
ES_Event RunServo ( ES_Event ThisEvent );

#endif  // IOModuleTemplate_H


