Skip to content
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

add set_alert_func #5

Merged
merged 1 commit into from
Nov 14, 2017
Merged

Conversation

StefanSchoof
Copy link
Contributor

Adds the set_alert_func.

I am unsure what do to with the second parameter of the callback. According to http://abyz.me.uk/rpi/pigpio/cif.html#gpioSetAlertFunc it is a Int with only 3 values. In Rest I think a enum is a good match, but I do not know what is the best way in this wrapper.

Copy link
Collaborator

@tadeegan tadeegan left a comment

Choose a reason for hiding this comment

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

LGTM as long as you tested it.

@StefanSchoof
Copy link
Contributor Author

Thanks, I tested this.

@tadeegan
Copy link
Collaborator

@martindeegan Can you give me merge permissions?

@tadeegan tadeegan merged commit 9ada981 into martindeegan:master Nov 14, 2017
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.

None yet

2 participants