Skip to content

Capacitance#136

Closed
robomike wants to merge 1 commit into
adafruit:masterfrom
robomike:capacitance
Closed

Capacitance#136
robomike wants to merge 1 commit into
adafruit:masterfrom
robomike:capacitance

Conversation

@robomike
Copy link
Copy Markdown

This adds the get capacitance value to the touchio library , so users can use the raw measurements to for anything else they want.

@tannewt tannewt self-requested a review May 22, 2017 05:32
Copy link
Copy Markdown
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Looks pretty good! It still has the metro pin name changes in it though. You'll need to drop the first commit by running git rebase -i and deleting the line that commit is on and then force pushing (git push --force) the branch. This should preserve the second commit while deleting the first. (The other branch for the pull request for it will still have the first commit.)

Comment thread shared-bindings/touchio/TouchIn.c Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please remove this whitespace change and the extra lines above.

Comment thread shared-bindings/touchio/TouchIn.c Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please move this comment above the touchio_touchin_obj_get_capacitance method to match how value is done.

Also, simplify the comment to "The raw capacitance measurement." without mentioning the SAMD21 because it will be provided by all ports that support touch.





Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Only one empty line here please.

@tannewt
Copy link
Copy Markdown
Member

tannewt commented May 23, 2017

Thanks for removing the extra commits. There are some other comments that need to be addressed before pulling it in.

@dhalbert
Copy link
Copy Markdown
Collaborator

Closing this for now, but happy to add it when you need it.

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.

3 participants