X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fam230x%2Fpd.py;h=eedf9428e70595b6e2680e03aa2cf430b237518c;hp=81c1f28da39506e4d714c779593b3ac77d60f5d3;hb=e144452bcdd5f2abbe6b6f3da41ad64f67e39def;hpb=10aeb8ea8b183394cebc0033f048f49f4262b57d diff --git a/decoders/am230x/pd.py b/decoders/am230x/pd.py index 81c1f28..eedf942 100644 --- a/decoders/am230x/pd.py +++ b/decoders/am230x/pd.py @@ -36,12 +36,13 @@ class SamplerateError(Exception): class Decoder(srd.Decoder): api_version = 3 id = 'am230x' - name = 'AM230x/DHTxx/RHTxx' + name = 'AM230x' longname = 'Aosong AM230x/DHTxx/RHTxx' - desc = 'Aosong AM230x/DHTxx/RHTxx humidity/temperature sensor protocol.' + desc = 'Aosong AM230x/DHTxx/RHTxx humidity/temperature sensor.' license = 'gplv2+' inputs = ['logic'] - outputs = ['am230x'] + outputs = [] + tags = ['IC', 'Sensor'] channels = ( {'id': 'sda', 'name': 'SDA', 'desc': 'Single wire serial data line'}, ) @@ -55,8 +56,8 @@ class Decoder(srd.Decoder): ('bit', 'Bit'), ('end', 'End'), ('byte', 'Byte'), - ('humidity', 'Relative humidity in percent'), - ('temperature', 'Temperature in degrees Celsius'), + ('humidity', 'Relative humidity'), + ('temperature', 'Temperature'), ('checksum', 'Checksum'), ) annotation_rows = (