mignev/shiftpi — pull request #3 by f-breidenstein (2013-07-20 14:45:06+00:00)
Title: Fixed a bug in delay() which appears for values below 1000

Division with integers wont work if the result will be a floating point value below 1.

1000 / 1000 = 1
900 / 1000 = 0
900.0 / 1000 = 0.9