Timer delay changed to millisecs and microsecs version added.