summaryrefslogtreecommitdiff
path: root/decoders/rgb_led_spi/pd.py
AgeCommit message (Collapse)Author
2019-04-02decoders: Fix incorrect 'outputs' fields.Uwe Hermann
Only add items to 'outputs' if the respective PD actually has OUTPUT_PYTHON support implemented as of right now. Various decoders might get OUTPUT_PYTHON support later, but the 'outputs' field should reflect the current status.
2019-03-15decoders: Add/update tags for each PD.Uwe Hermann
2017-12-22all decoders: introduce a reset() methodGerhard Sittig
Move initialization code of protocol decoders from the constructor to a new reset() helper method. The libsigrokdecode backend could run this method several times to clear the decoder's internal state, before new data from another acquisition gets fed to decode() calls.
2017-06-16Mark all stacked decoders as being PD API version 3.Uwe Hermann
This is not really relevant for stacked PDs currently (they can be used unmodified with either PDv2 or PDv3 low-level decoders), but it'll allow us to drop PDv2 support completely.
2017-01-07license: remove FSF postal address from boiler plate license textGerhard Sittig
Remove the FSF postal address as it might change (it did in the past). Reference the gnu.org website instead which is more stable.
2016-05-15Use consistent __init__() format across all PDs.Uwe Hermann
The previous **kwargs some PDs had is not actually ever used, so drop it.
2016-03-04Fix various incorrect PD license metadata fields.Uwe Hermann
Have the PD 'license' attribute match what the license header of the respective pd.py file actually says.
2015-04-02Slightly shorten a few PD descriptions.Uwe Hermann
2014-10-13All PDs: More consistent names for ss/es variables.Uwe Hermann
Use self.ss/self.es, or if there's a need to differentiate them a bit more, use self.ss_<suffix>/self.es_<suffix> consistently. Also, drop some unused variables.
2014-07-15All PDs: Minor whitespace and consistency fixes.Uwe Hermann
- No newlines at the end of files. - No trailing ';' characters. - Comparison with None: Use 'is None' or 'is not None'. - Comparison with True/False: Use 'if cond:' or 'if not cond:'. - Various minor whitespace fixes.
2014-07-09Various PDs: Minor consistency fixes.Uwe Hermann
(Consistently use single-quotes for all Python strings everywhere)
2014-04-15All PDs: Bump api_version to 2.Uwe Hermann
Older libsigrokdecode versions are no longer able to use the current versions of the PDs (various changes in syntax etc).
2014-03-10Probes, optional probes and annotations now take a tuple.Bert Vermeulen
Annotation entries also consist of a tuple, not a list.
2014-03-10Remove unused probes and optionsBert Vermeulen
2014-02-23rgb_led_spi: Shorten name/description (drop "mode").Uwe Hermann
In the 'sdcard_spi' PD/case the SD spec specifically differentiates between a so-called "SPI mode" and "SD mode" (both being well-defined terms from the spec), thus the "SPI mode" in the name and description of that PD. For 'rgb_led_spi' however there's no such distinction for "modes" really, so shorten the name/description to just 'RGB LED (SPI)'.
2014-02-19rgb_led: Rename PD to rgb_led_spi.Uwe Hermann
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.