Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Blom
    3. Best
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by Blom

    • My SHT21 and ds18b20 sensor

      Here is my SHT21 and ds18b20 sensors DSC02234.JPGDSC02246.JPG DSC02236.JPG DSC02237.JPG DSC02239.JPG DSC02241.JPG

      posted in My Project
      Blom
      Blom
    • RE: Determine if pin interupt or awakens from sleep

      Thanks! Worked like a charm!

      uint8_t interruptReturn;
      
      void loop()  {
      if (interruptReturn == 1){do this}
      if (interruptReturn == MY_WAKE_UP_BY_TIMER){do that}
      interruptReturn = sleep(INTERRUPT,CHANGE,SLEEP_TIME);
      }
      

      Next question: Is it possible to retrive remaining sleep time when waking up on interrupt so sensor could resume on time
      left when it goes to sleep again?

      posted in General Discussion
      Blom
      Blom