X-Git-Url: https://vault307.fbx.one/gitweb/micorpython_ir.git/blobdiff_plain/2ebf5db498266618fc0f037469309a6ea1906304..cfb4d7a37f2dbe06dd118dffb943308bed3c6e09:/ir_rx/acquire.py diff --git a/ir_rx/acquire.py b/ir_rx/acquire.py index ea0b2e4..af3ab38 100644 --- a/ir_rx/acquire.py +++ b/ir_rx/acquire.py @@ -70,8 +70,8 @@ class IR_GET(IR_RX): print('Protocol start {} {} Burst length {} duration {}'.format(burst[0], burst[1], lb, duration)) ok = True - if not ok and near(burst[0], 4500) and near(burst[1], 4500): # Samsung? - print('Unsupported protocol. Samsung?') + if not ok and near(burst[0], 4500) and near(burst[1], 4500) and lb == 67: # Samsung + print('Samsung') ok = True if not ok and near(burst[0], 3500) and near(burst[1], 1680): # Panasonic?