Skip to content

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

Merged
merged 6 commits into from
Oct 23, 2019
Merged

Conversation

kattni
Copy link
Contributor

@kattni kattni commented Oct 23, 2019

Docs are incomplete - there are placeholders where docs are needed.

@kattni kattni requested a review from ladyada October 23, 2019 18:01
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."""
Copy link
Member

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


: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``.
Copy link
Member

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.

@kattni kattni merged commit 032c135 into adafruit:master Oct 23, 2019
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Oct 24, 2019
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants