summaryrefslogtreecommitdiff
path: root/decoders/lm75/__init__.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-06-27 20:02:25 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2012-06-28 01:02:52 +0200
commit44f7ba18ee64fc89d0f69619076ff28a8bc6b31a (patch)
treed84cd6695858e6d91bdda6ca5161901c821c8676 /decoders/lm75/__init__.py
parent387b6e3bb4340e20c978a8c47037d0bea9cca3c0 (diff)
downloadlibsigrokdecode-44f7ba18ee64fc89d0f69619076ff28a8bc6b31a.tar.gz
libsigrokdecode-44f7ba18ee64fc89d0f69619076ff28a8bc6b31a.zip
srd: Add National LM75 protocol decoder.
This shall support the original National LM75 I2C-based temperature sensor, as well as various compatible devices of other vendors, such as the Fairchild FM75, Dallas DS75, and so on. Currently only 9bit resolution is supported, and not all commands are decoded, yet. The register contents and temperatures are decoded correctly though, and can be output in both Celsius and Kelvin.
Diffstat (limited to 'decoders/lm75/__init__.py')
-rw-r--r--decoders/lm75/__init__.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/decoders/lm75/__init__.py b/decoders/lm75/__init__.py
new file mode 100644
index 0000000..fd72612
--- /dev/null
+++ b/decoders/lm75/__init__.py
@@ -0,0 +1,34 @@
+##
+## This file is part of the sigrok project.
+##
+## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## 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
+##
+
+'''
+National LM75 (and compatibles) temperature sensor protocol decoder.
+
+TODO: Description.
+
+Protocol output format:
+TODO.
+
+Details:
+TODO.
+'''
+
+from .lm75 import *
+