Skip to content

Commit c1c5e25

Browse files
committed
Remove commented-out code.
1 parent d9e3005 commit c1c5e25

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

amg88xx.py

-14
Original file line numberDiff line numberDiff line change
@@ -70,20 +70,6 @@
7070
_TTHL = const(0x0e)
7171
_TTHH = const(0x0f)
7272

73-
# For Adafruit. Tested on Unix
74-
#def _signed_12bit_to_float(val):
75-
##take first 11 bits as absolute val
76-
#abs_val = (val & 0x7FF)
77-
#if val & 0x800:
78-
#return 0 - float(abs_val)
79-
#return float(abs_val)
80-
81-
#def _twos_comp_to_float(val):
82-
#val &= 0xfff
83-
#if val & 0x800:
84-
#val -= 0x1000
85-
#return float(val)
86-
8773
# Temperature of each pixel across the sensor in Celsius.
8874

8975
# Temperatures are stored in an integer array .data two dimensional list where the first index is the row and

0 commit comments

Comments
 (0)