Hi, viewing the serial output with sleep enabled I notice that after the first transmission the Atmel goes to sleep for the given number of seconds, than wakes up, starts the next transmission, goes to sleep again but wakes up in the same second.
Second issue about the same sleep function: With TX_LOOP_TIME set to anything above 32 seconds the value of TX_LOOP_TIME * 1000 gets out of range, gives a warning in the compiler but does program the software which does not ever gets back to transmit again.
Hi, viewing the serial output with sleep enabled I notice that after the first transmission the Atmel goes to sleep for the given number of seconds, than wakes up, starts the next transmission, goes to sleep again but wakes up in the same second.
Second issue about the same sleep function: With TX_LOOP_TIME set to anything above 32 seconds the value of TX_LOOP_TIME * 1000 gets out of range, gives a warning in the compiler but does program the software which does not ever gets back to transmit again.