Modular Pinball Machine Controller
Data Fields

COIL Struct Reference

Tracks the state of each coil. More...

#include <pinkit.h>

Data Fields

BYTE state
BYTE timer
BYTE max

Detailed Description

Tracks the state of each coil.


Field Documentation

BYTE max

On-time limit in ms, 0 = no limit

BYTE state

0=off, 1=on

BYTE timer

used for timing the on duration of a pulse, and as watchdog


The documentation for this struct was generated from the following file: