|
|
1.1 root 1: /*
2: * pac_states.h - Valid states and substates for the pacifier module.
3: */
4:
5: /* States for the pacifier state machine: */
6: #define FORWARD 0
7: #define REVERSE 1
8:
9: /* These substates are valid for both states: */
10: #define N_S 0
11: #define NE_SW 1
12: #define E_W 2
13: #define NW_SE 3
14:
15: /* Number of substates to pass through before reversing. */
16: #define THRESHOLD 20
17:
18: /* Make prints or erase them only if they are requested. */
19: #define FOOTPRINT { if (feet_flag) { puts("_"); } }
20: #define UNFOOTPRINT { if (feet_flag) { puts(" \010\010"); } }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.