From b4332f0fdd7706d9caf39a5dcd8a1b5b06a626ab Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 16 Oct 2014 21:23:19 +0200 Subject: Add a PWM decoder. --- decoders/pwm/__init__.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 decoders/pwm/__init__.py (limited to 'decoders/pwm/__init__.py') diff --git a/decoders/pwm/__init__.py b/decoders/pwm/__init__.py new file mode 100644 index 0000000..096e077 --- /dev/null +++ b/decoders/pwm/__init__.py @@ -0,0 +1,25 @@ +## +## This file is part of the libsigrokdecode project. +## +## Copyright (C) 2014 Torsten Duwe +## +## 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 +## + +''' +Pulse-width modulation (a.k.a pulse-duration modulation, PDM) decoder. +''' + +from .pd import Decoder -- cgit v1.2.3-70-g09d2