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 044f8f7 commit a016dc4Copy full SHA for a016dc4
adafruit_vl6180x.py
@@ -33,7 +33,6 @@
33
from adafruit_bus_device import i2c_device
34
35
try:
36
- import logging
37
from typing import Optional, List
38
from busio import I2C
39
except ImportError:
@@ -158,11 +157,11 @@ def range_history_enabled(self) -> bool:
158
157
history_ctrl: int = self._read_8(_VL6180X_REG_SYSTEM_HISTORY_CTRL)
159
160
if history_ctrl & 0x0:
161
- logging.info("History buffering not enabled")
+ print("History buffering not enabled")
162
return False
163
164
if (history_ctrl > 1) & 0x1:
165
- logging.info("History buffer stores ALS data, not range")
+ print("History buffer stores ALS data, not range")
166
167
168
return True
0 commit comments