Why you use 'float' type for time variables? This is completely pointless, slow down the program and uses a lot of memory - the variables themselves and the library to work with them. Replace them all with 'unsigned long' and try again.
Why you use 'float' type for time variables? This is completely pointless, slow down the program and uses a lot of memory - the variables themselves and the library to work with them. Replace them all with 'unsigned long' and try again.