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

Remove a pin from reporting #61

Open
mattjlewis opened this issue Jun 28, 2017 · 0 comments
Open

Remove a pin from reporting #61

mattjlewis opened this issue Jun 28, 2017 · 0 comments

Comments

@mattjlewis
Copy link

First of all thanks for this, I'm in the process of adding support into my Java diozero library.
From what I can see it doesn't seem to possible to either remove a pin from reporting or to change it from digitial to analog reporting. My test case is:

setPinMode(0, OUTPUT);
addDigitalReporting(0);
setSampleInterval(100);
digitalWrite(0, true);
delay(500);
digitalWrite(0, false);
delay(500);
setPinMode(0, ANALOG_OUTPUT);
analogWrite(0, 255);
delay(500);
analogWrite(0, 128);
delay(500);
analogWrite(0, 0);

I can see the correct reports for the digital writes, but the reported values always remain at 0 for the analog writes.

Matt

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

No branches or pull requests

1 participant