X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fmlx90614%2Fpd.py;h=908f40a62eb70bb392f23e664ce9581c351de88e;hb=a83e259abd32c2c8a340af47d5e0d3633331a6cd;hp=8ae3ab90fa0179cbbfb861b988b090baa05a7f58;hpb=d6d8a8a440ea2a81e6ddde33d16bc84d01cdb432;p=libsigrokdecode.git diff --git a/decoders/mlx90614/pd.py b/decoders/mlx90614/pd.py index 8ae3ab9..908f40a 100644 --- a/decoders/mlx90614/pd.py +++ b/decoders/mlx90614/pd.py @@ -24,14 +24,18 @@ class Decoder(srd.Decoder): id = 'mlx90614' name = 'MLX90614' longname = 'Melexis MLX90614' - desc = 'Infrared Thermometer protocol.' + desc = 'Melexis MLX90614 infrared thermometer protocol.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['mlx90614'] + outputs = [] tags = ['IC', 'Sensor'] annotations = ( - ('celsius', 'Temperature in degrees Celsius'), - ('kelvin', 'Temperature in Kelvin'), + ('celsius', 'Temperature / °C'), + ('kelvin', 'Temperature / K'), + ) + annotation_rows = ( + ('temps-celsius', 'Temperature / °C', (0,)), + ('temps-kelvin', 'Temperature / K', (1,)), ) def __init__(self):