We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9323e9 commit 75c296fCopy full SHA for 75c296f
adafruit_sgp40.py
@@ -37,19 +37,10 @@
37
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SGP40.git"
38
39
_WORD_LEN = 2
40
+
41
# no point in generating this each time
-_READ_CMD = bytes(
42
- [
43
- 0x26,
44
- 0x0F,
45
- 0x80,
46
- 0x00,
47
- 0xA2,
48
- 0x66,
49
50
- 0x93,
51
- ]
52
-) # Generated from temp 25c, humidity 50%
+# Generated from temp 25c, humidity 50%
+_READ_CMD = b"\x26\x0F\x80\x00\xA2\x66\x66\x93"
53
54
55
class SGP40:
0 commit comments