Hi guys, I need an arbitrarily odd or even number.
I am using this elsewhere in my program to count down time (from the Blink w/o delay example)
unsigned long currentMillis = millis();
If I just mask off the lowest bit
long number = currentMillis & 0x01; // some othermask needed for type long??
and then decide based on number = 0 or 1, that will more or less give a random result, won't it?
I just broke my power connection wiring, will fix so I can try this tomorrow.