summaryrefslogtreecommitdiff
path: root/decoders/rgb_led_spi/__init__.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-02-19 15:09:22 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-02-19 15:21:01 +0100
commitae036d3403ad9e301d41a68869ded51a54127bfe (patch)
tree6d245592ee574e73bbcfc1e99dc9f795a020369e /decoders/rgb_led_spi/__init__.py
parent83d792a4c201c081070f2fdf638e485c5b8a52a0 (diff)
downloadlibsigrokdecode-ae036d3403ad9e301d41a68869ded51a54127bfe.tar.gz
libsigrokdecode-ae036d3403ad9e301d41a68869ded51a54127bfe.zip
rgb_led: Rename PD to rgb_led_spi.
There are a number of other RGB LED protocols (simple or more advanced ones, and various ones not based on SPI), so use a more distinguishable name for this PD.
Diffstat (limited to 'decoders/rgb_led_spi/__init__.py')
-rw-r--r--decoders/rgb_led_spi/__init__.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/decoders/rgb_led_spi/__init__.py b/decoders/rgb_led_spi/__init__.py
new file mode 100644
index 0000000..3d41ea5
--- /dev/null
+++ b/decoders/rgb_led_spi/__init__.py
@@ -0,0 +1,27 @@
+##
+## This file is part of the libsigrokdecode project.
+##
+## Copyright (C) 2014 Matt Ranostay <mranostay@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
+##
+
+'''
+This decoder stacks on top of the 'spi' PD and decodes generic RGB LED string
+values that are clocked over SPI in RGB values.
+'''
+
+from .pd import *
+