Skip to content

Commit

Permalink
Fix MODE_CONFIG for #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Oct 31, 2019
1 parent c020a01 commit 84dcce9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/max30105/__init__.py
Expand Up @@ -247,6 +247,7 @@ def __init__(self, i2c_addr=I2C_ADDRESS, i2c_dev=None):
BitField('shutdown', 0b10000000),
BitField('reset', 0b01000000),
BitField('mode', 0b00000111, adapter=LookupAdapter({
'none': 0b00,
'red_only': 0b010,
'red_ir': 0b011,
'green_red_ir': 0b111
Expand Down

0 comments on commit 84dcce9

Please sign in to comment.