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

Question: DigitalOutput.newConfigBuilder build options #4

Open
vallemar opened this issue Oct 29, 2021 · 0 comments
Open

Question: DigitalOutput.newConfigBuilder build options #4

vallemar opened this issue Oct 29, 2021 · 0 comments

Comments

@vallemar
Copy link

vallemar commented Oct 29, 2021

I'm following the beginning of this basic example and when I got to this line. I have the following doubts:

  • What properties are mandatory to declare on newConfigBuilder? I have tried to remove properties and the code does nothing, but it does not fail either, it is a bit confusing.
  • What is the provider? I have searched the documentation but I can not find anything. I have tried to put a random provider and I have the following error: com.pi4j.provider.exception.ProviderNotFoundException: Pi4J provider [pigpio-digital] could not be found. Please include this 'provider' JAR in the classpath. If the provider is mandatory and also expects a specific string, why is an enumeration not done or is it simply omitted?

Thank you!

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