mpf.platforms.opp.opp_incand

Support for incandescent wings in OPP.

class mpf.platforms.opp.opp_incand.OPPIncand(incand_card, number)

A driver of an incandescent wing card.

Initialise Incandescent wing card driver.

off()

Disable (turns off) this light.

on(brightness: int = 255)

Enable (turns on) this driver.

Parameters:brightness – brightness 0 (off) to 255 (on) for this incandescent light. OPP only supports on (>0) or off.
class mpf.platforms.opp.opp_incand.OPPIncandCard(chain_serial, addr, mask, incand_dict)

An incandescent wing card.

Initialise OPP incandescent card.