One thing to keep in mind with on the Arduino, don¡¯t do delays, it messes up communications. Instead consider capturing the current time and then in the loop watch for the time since that mark. Doing that instead of delay will insure everything else doesn¡¯t get tripped up.