Skip to content

Remove a pin from reporting #61

@mattjlewis

Description

@mattjlewis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions