diff options
author | Mariusz Bialonczyk <manio@skyboo.net> | 2019-03-14 12:25:54 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-03-28 22:50:16 +0100 |
commit | 8d63f8a496f009829b285f06e42eb45377c45540 (patch) | |
tree | dbab88cdd63c7fbfe0f5c1b56881925af8110fcb /decoders/ds2408/__init__.py | |
parent | c29da3bb1a296ef4ad5a966644681fa908b507ad (diff) | |
download | libsigrokdecode-8d63f8a496f009829b285f06e42eb45377c45540.tar.gz libsigrokdecode-8d63f8a496f009829b285f06e42eb45377c45540.zip |
add a Maxim DS2408 decoder
This is a 1-Wire 8-channel addressable switch.
Diffstat (limited to 'decoders/ds2408/__init__.py')
-rw-r--r-- | decoders/ds2408/__init__.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/decoders/ds2408/__init__.py b/decoders/ds2408/__init__.py new file mode 100644 index 0000000..b196ce9 --- /dev/null +++ b/decoders/ds2408/__init__.py @@ -0,0 +1,25 @@ +## +## This file is part of the libsigrokdecode project. +## +## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de> +## +## 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, see <http://www.gnu.org/licenses/>. +## + +''' +This decoder stacks on top of the 'onewire_network' PD and decodes the +Maxim DS2408 1-Wire 8-channel addressable switch protocol. +''' + +from .pd import Decoder |