Keeping accurate time

kdecker:
Oh thanks John. Didn't know I could do that with the code snippet. I'll do that next time and thanks for the response on the registers. I'll take a look at that.

My mistake. I didn't notice that you re-ordered the values between the function arguments and the array.

I have read in various places that when you use the SPI library you are supposed to set the hardware Slave Select line (D10) to an output. It sounds like a strange requirement but couldn't hurt to try. Just put it in setup().