Skip to content

Added ability to change touch threshold #20

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 5 commits into from
Dec 10, 2017

Conversation

kattni
Copy link
Contributor

@kattni kattni commented Dec 10, 2017

Included image for ReadTheDocs.

Change has been tested by myself and @jedgarpark successfully.

Error states `Too many public methods`. The allowed numbers are between 5 and 20.
This can be increased in pylint by changing `--max-public-methods=` but this
alters it globally.
@kattni kattni requested review from tannewt and dhalbert December 10, 2017 17:40
@kattni
Copy link
Contributor Author

kattni commented Dec 10, 2017

Functionality still being added, however, the method changed significantly in discussion. Closing this PR and starting a new one.

@kattni kattni closed this Dec 10, 2017
@kattni kattni deleted the touch-threshold branch December 10, 2017 18:49
@kattni kattni restored the touch-threshold branch December 10, 2017 18:55
@kattni
Copy link
Contributor Author

kattni commented Dec 10, 2017

Reopening PR to keep track of previous changes.

@kattni kattni reopened this Dec 10, 2017
Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just the one pylint comment thing

@@ -66,7 +66,8 @@ def light(self):
"""Light level in SI Lux."""
return self._photocell.value * 330 // (2 ** 16)

class Express:

class Express: # pylint: disable-msg=R0904
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can do #pylint: disable=too-many-public-methods. That's clearer.

@dhalbert dhalbert merged commit b3c63eb into adafruit:master Dec 10, 2017
tannewt pushed a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Dec 10, 2017
@kattni kattni deleted the touch-threshold branch June 27, 2018 20:05
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