]> vault307.fbx.one Git - micorpython_ir.git/blobdiff - ir_tx/mce.py
Release 0.1 Various bugfixes and improvements.
[micorpython_ir.git] / ir_tx / mce.py
index 24f1aef53d75c229c77e647278ea7006d90c0f24..b2b7267f7d9a45f49f1a6ddef68198a42d6f3261 100644 (file)
@@ -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):