fixed bug on time to execute introduced by mqtt loop (takes 1 sec to execute)
moved comparaTiempos execution in main to start after serial coms thread