Could some C++ strong typing, function overloading, and an extra version or three of delay()
take care of this problem? Maybe one delay()
for each of the following input types: int, unsigned int, long, unsigned long.
Of course, there's not a lot of room on the ATmega for code bloat...
-j