Remove these ads by
Signing Up
Remove these ads by
Signing Up
Remove these ads by
Signing Up
PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format.
You also have the ability to customize your PDF download.
Then, wirelessly control the PS on the cheap by using a low cost RF transceiver pair from Sparkfun or Modern Device (check out the Arduino JeeNode!)
Both millis() and micros() are unsigned long
check for overflow.
int moo;
if (millis() - moo > DELAY)
{
moo = millis();
}
Will lock up on moo overflow.
better:
unsigned long moo;
if (millis() - moo > DELAY)
{
moo = millis();
} else { if (moo > millis(){moo=millis();}}
Can you publish a link for the zener based circuit? (I'm requesting on a year old comment -- sorry about that.)
Subrotos