Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * File: runStateMachine.h
- * Author: max
- *
- * Created on July 28, 2016, 12:43 PM
- */
- #ifndef RUNSTATEMACHINE_H
- #define RUNSTATEMACHINE_H
- #include "events.h"
- // A list of your states goes here:
- typedef enum {
- INIT,
- FORWARD,
- TURNLEFT,
- TURNRIGHT,
- BACK,
- ARCRIGHT,
- DARKIDLE
- } state_t;
- // A prototype for the function that handles the whole state machine:
- void RunStateMachine(event_t this_event);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement