From 66fc6e7c21878ae7e7ee65096fdf304133de3136 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 15 Feb 2016 00:06:38 +0300 Subject: Add an rgb_led_ws281x decoder. This decoder handles the WS2812B protocol (and possibly WS2811). Example dump already exists: led/ws281x/ws281x_4ch_5mhz.sr. Signed-off-by: Vladimir Ermakov --- decoders/rgb_led_ws281x/__init__.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 decoders/rgb_led_ws281x/__init__.py (limited to 'decoders/rgb_led_ws281x/__init__.py') diff --git a/decoders/rgb_led_ws281x/__init__.py b/decoders/rgb_led_ws281x/__init__.py new file mode 100644 index 0000000..63135a4 --- /dev/null +++ b/decoders/rgb_led_ws281x/__init__.py @@ -0,0 +1,28 @@ +## +## This file is part of the libsigrokdecode project. +## +## Copyright (C) 2016 Vladimir Ermakov +## +## 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 3 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 +## + +''' +WS281x RGB LED protocol decoder. + +Details: +https://cpldcpu.wordpress.com/2014/01/14/light_ws2812-library-v2-0-part-i-understanding-the-ws2812/ +''' + +from .pd import Decoder -- cgit v1.2.3-70-g09d2