Hi folks -- first time questions for me!
We're using P-ROC (latest FW) with an original WPC I/O board, latest libpinproc with "WPC dim lamp" fix.
The P-ROC performs nicely and allows us to focus on other dev items.
I have a few minor questions...
in driving the LED (lamp) matrix I get I nice steady "on" when using
PRDriverSchedule(proc, driver_output, 0xFFFFFFFF, 0, 1);
but I can't find a "magic" combination of parameters to get PRDriverPatter() to also produce a flicker free "on".
My assumption of PWM when off=0 and on>0 means no off pulse.
The best combination I found is on=255,off=1 but this shows a periodic flicker. Using on=255,off=0 gives a slow periodic strobe.
So, am I using PRDriverPatter() wrong or is this how it works and I need to use PRDriverSchedule() when I want full "on"?
Is there a way to reset the P-ROC's USB link thru software?
The scenario is I'm moving the USB cable to a different computer then restarting my pinball code. The P-ROC usually doesn't like that (reports errors continuously) and won't reconnect unless I power-cycle the P-ROC. I'm initializing the P-ROC based on the libpinproc example code.
Or perhaps there's a reliable way to shut down the USB before I swap?