SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             if(currentTime.hours > nextSunrise.hours && currentTime.hours < nextSunset.hours)
  2.             {
  3.               Serial.println("SLEEPING");
  4.               goSleep(TX_INTERVAL_SLEEP);
  5.             }
  6.             else
  7.             {
  8.               Serial.println("AWAKE and SENDING");
  9.               //os_setCallback(&sendjob, do_send);
  10.               os_setTimedCallback(&sendjob, TX_INTERVAL_SEND ,do_send);
  11.             }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top