Skip to content

Commit

Permalink
CnP error
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Mar 25, 2020
1 parent 0bbedf4 commit 20783be
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions circuitpython_cirque_pinnacle.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,8 @@
MUX_REF0 = 0x08
MUX_PNP = 0x04
MUX_NPN = 0x01

class AnyMeasCrtl:
"""These constants control the number of measurements performed in `measure_adc()`."""
CRTL_REPEAT = 0x80 #: required for more than 1 measurement
CRTL_PWR_IDLE = 0x40 #: triggers low power mode (sleep) after completing measurements
# pylint: enable=bad-whitespace,too-few-public-methods
CRTL_REPEAT = 0x80
CRTL_PWR_IDLE = 0x40

class PinnacleTouch:
"""The abstract base class for driving the Pinnacle ASIC."""
Expand Down

0 comments on commit 20783be

Please sign in to comment.