![]() |
Modular Pinball Machine Controller
|
Tracks information for each lamp. More...
#include <pinkit.h>
Data Fields | |
| BYTE | state |
| BYTE | group |
| union { | |
| UINT16 patt_all | |
| struct { | |
| BYTE patt_lo | |
| BYTE patt_hi | |
| } | |
| } | pattern |
| UINT16 | timer |
| BYTE | blink |
Tracks information for each lamp.
| BYTE blink |
3:0 = blink interval, 0=steady, 15=fast
| BYTE group |
lamp group: 1-15, 0=no group
| UINT16 patt_all |
blink pattern
| BYTE patt_hi |
high-order byte of blink pattern for easy access
| BYTE patt_lo |
low-order byte of blink pattern for easy access
| union { ... } pattern |
Union to map patt_all onto the BYTE accessable patt_lo and patt_hi
| BYTE state |
7=on/off; 4=pending cmd; 3:0 = brightness, 0=off, 15=full on
| UINT16 timer |
used for blinking
1.7.3