diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-03-07 14:55:54 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-03-10 15:39:33 +0100 |
commit | 00962e763e610d8535dd9df1ac97377b3fb727a7 (patch) | |
tree | c523e38cf723c58fb9eb240699cf6a1415b51f33 /decoders/ir_nec/__init__.py | |
parent | 5e6fa9cc6c1ac53de29350722f86e7524cc53442 (diff) | |
download | libsigrokdecode-00962e763e610d8535dd9df1ac97377b3fb727a7.tar.gz libsigrokdecode-00962e763e610d8535dd9df1ac97377b3fb727a7.zip |
Rename 'ir_nec6122' PD to 'ir_nec', minor fixes and simplifications.
This IR protocol is commonly referred to as "the NEC protocol", and can be
generated by various means (not only via the NEC µPD6121/µPD6122 ICs).
Drop some unneeded variables and fix/simplify the code a bit.
Diffstat (limited to 'decoders/ir_nec/__init__.py')
-rw-r--r-- | decoders/ir_nec/__init__.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/decoders/ir_nec/__init__.py b/decoders/ir_nec/__init__.py new file mode 100644 index 0000000..84bf428 --- /dev/null +++ b/decoders/ir_nec/__init__.py @@ -0,0 +1,26 @@ +## +## This file is part of the libsigrokdecode project. +## +## Copyright (C) 2014 Gump Yang <gump.yang@gmail.com> +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## + +''' +NEC is a pulse-distance based infrared remote control protocol. +''' + +from .pd import * + |