-
Hi, I am trying to rewrite a working Python script in PI4J 2.0 but somehow the same pin does not send any signal. Python:
Java:
} |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Apparently, the config needs a provider specified:
The example here came without https://pi4j.com/documentation/io-examples/pwm/ |
Beta Was this translation helpful? Give feedback.
-
@esemlak thanks for noticing and providing the solution!!! The documentation page has been adjusted. |
Beta Was this translation helpful? Give feedback.
-
@esemlak , Yes as the moment all I/O providers need to be explicitly specified. We plan on assigning default I/O providers in a future release once all the Linux File System providers are complete. Thanks, Robert |
Beta Was this translation helpful? Give feedback.
Apparently, the config needs a provider specified:
The example here came without https://pi4j.com/documentation/io-examples/pwm/