hi, modulus gives a warning
Newperiod = SecNumber % TimeFrame == 0;
it gives the 505 warning division by zero.
I can avoid it by using:
Newperiod = SecNumber % ( TimeFrame + 1e-9 ) == 0;
but I wonder if this warning should be in there. Thanks