-
Notifications
You must be signed in to change notification settings - Fork 10
Implements advanced features. #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
adafruit_mcp9600.py
Outdated
setattr(self, '_alert_%d_enable' % alert_number, False) | ||
|
||
def alert_interrupt_clear(self, alert_number, interrupt_clear=True): | ||
"""Setting ``interrupt_clear==True`` clears the interrupt flag.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turns off the alert flag in the MCP9600, and clears the pin state (not used if the alert is in comparator mode)
:param int alert_number: The alert pin number. Must be 1-4.
:param bool interrupt_clear The bit to write the interrupt state flag
adafruit_mcp9600.py
Outdated
|
||
:param int alert_number: The alert pin number. Must be 1-4. | ||
:param alert_temp_source: The temperature source to monitor for the alert. Options are: | ||
``THERMOCOUPLE`` or ``AMBIENT``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The temperature source to monitor for the alert. Options are:
THERMOCOUPLE
(hot junction) or AMBIENT
(cold junction). In Celsius.
Updating https://github.com/adafruit/Adafruit_CircuitPython_MCP9600 to 1.0.1 from 0.0.8: > Merge pull request adafruit/Adafruit_CircuitPython_MCP9600#7 from kattni/update-requirements > Merge pull request adafruit/Adafruit_CircuitPython_MCP9600#6 from kattni/pypi-deploy > Merge pull request adafruit/Adafruit_CircuitPython_MCP9600#5 from kattni/doc-fix > Merge pull request adafruit/Adafruit_CircuitPython_MCP9600#4 from kattni/example-update > Merge pull request adafruit/Adafruit_CircuitPython_MCP9600#3 from kattni/implement-features Updating https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display to 3.5.4 from 3.5.3: > Merge pull request adafruit/Adafruit_CircuitPython_RGB_Display#43 from makermelissa/master > Merge pull request adafruit/Adafruit_CircuitPython_RGB_Display#42 from adafruit/dherrada-patch-1 Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA: > Added the following libraries: Adafruit_CircuitPython_MCP9600
Docs are incomplete - there are placeholders where docs are needed.