Yes I have tried different order.
It seems the minor delay after the export permits the following write operations to function properly and the attached LED reflect the values written.
Operating without the delay, the export worked, the subsequent write failed with the exception. So rerunning the same test case the pi4j determines the pwm was already exported, the code does not do the export, and the following writes all operate correctly.
It seems the minor delay after the export permits the following write operations to function properly and the attached LED reflect the values written.
Operating without the delay, the export worked, the subsequent write failed with the exception. So rerunning the same test case the pi4j determines the pwm was already exported, the code does not do the export, and the following writes all operate correctly.
Statistics: Posted by taartspi — Sun Apr 14, 2024 6:05 pm