X-Git-Url: https://vault307.fbx.one/gitweb/micorpython_ir.git/blobdiff_plain/a5c58e92f187b72111774f417d82238ec7e3b6eb..cfb4d7a37f2dbe06dd118dffb943308bed3c6e09:/ir_tx/mce.py diff --git a/ir_tx/mce.py b/ir_tx/mce.py index 24f1aef..b2b7267 100644 --- a/ir_tx/mce.py +++ b/ir_tx/mce.py @@ -13,6 +13,7 @@ _TBIT = const(500) # Time (μs) for pulse of carrier class MCE(IR): + valid = (0xf, 0x3f, 3) # Max addr, data, toggle init_cs = 4 # http://www.hifi-remote.com/johnsfine/DecodeIR.html#OrtekMCE says 3 def __init__(self, pin, freq=38000, verbose=False):