From 00962e763e610d8535dd9df1ac97377b3fb727a7 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 7 Mar 2014 14:55:54 +0100 Subject: Rename 'ir_nec6122' PD to 'ir_nec', minor fixes and simplifications. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- decoders/ir_nec/__init__.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 decoders/ir_nec/__init__.py (limited to 'decoders/ir_nec/__init__.py') 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 +## +## 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 * + -- cgit v1.2.3-70-g09d2