Bug: millis() delay off by +1 ms

@BenF: Excellent analysis!

@westfw: "Not practical given the current timer scheme." I'm going to take a wild guess and say that BenF agrees. I agree as well.

That leaves two options...

  • documentation updated to match the function's behavior
  • delay calls delayMicroseconds for short delays

@Zack777: Which would you like to pursue?