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 c627e60 commit f9323e9Copy full SHA for f9323e9
adafruit_sgp40.py
@@ -38,16 +38,18 @@
38
39
_WORD_LEN = 2
40
# no point in generating this each time
41
-_READ_CMD = [
42
- 0x26,
43
- 0x0F,
44
- 0x80,
45
- 0x00,
46
- 0xA2,
47
- 0x66,
48
49
- 0x93,
50
-] # Generated from temp 25c, humidity 50%
+_READ_CMD = bytes(
+ [
+ 0x26,
+ 0x0F,
+ 0x80,
+ 0x00,
+ 0xA2,
+ 0x66,
+ 0x93,
51
+ ]
52
+) # Generated from temp 25c, humidity 50%
53
54
55
class SGP40:
0 commit comments