Mar-25-2019, 12:50 PM
I would put a print statement in the while loop. Probably a conditional one if the brightness changes, otherwise you'll get a flood of output. You'll have a variable to track the previous value for the conditional. Set that up with a dummy value to make sure it prints the first time through the loop, to confirm that the loop is executing.
My guess is the initial value is messing up the PHP somehow, but I really have no clue. That's why I suggest print statements.
My guess is the initial value is messing up the PHP somehow, but I really have no clue. That's why I suggest print statements.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures