Added a work around for _delay_ms(...) being stupid.

The function used to work with a variable, but now it wants a compile time constant.

I just used a for loop with a constant value of 1.  This is less accurate, but it works.