Skip to content

Fix passing touch and release values to the device#2

Open
amir-s wants to merge 1 commit intodwisk:masterfrom
amir-s:master
Open

Fix passing touch and release values to the device#2
amir-s wants to merge 1 commit intodwisk:masterfrom
amir-s:master

Conversation

@amir-s
Copy link

@amir-s amir-s commented Jun 8, 2022

The values are not currently being passed downstream and are hardcoded.

@amir-s
Copy link
Author

amir-s commented Jun 8, 2022

Could you please take a look @dwisk?


MPR121.prototype.is_touched = function(pin) {
if (pin < 0 || pin >= 12) { return false; }
if (pin < 0 || pin >= 12) { return false; }
Copy link
Author

Choose a reason for hiding this comment

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

Swapping some invisible characters with an actual space character.

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.

1 participant