Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions adafruit_sgp40.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,10 @@
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SGP40.git"

_WORD_LEN = 2

# no point in generating this each time
_READ_CMD = [
0x26,
0x0F,
0x80,
0x00,
0xA2,
0x66,
0x66,
0x93,
] # Generated from temp 25c, humidity 50%
# Generated from temp 25c, humidity 50%
_READ_CMD = b"\x26\x0F\x80\x00\xA2\x66\x66\x93"


class SGP40:
Expand Down