Weird time behavior (millis, delay and tune) when the processor runs outside the Arduino board

That would explain the time difference!!! I'll do it right away. Thanks David!!