Navigation

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

    Best posts made by Mark Hansen

    • RE: 💬 Atmospheric Pressure Sensor

      Heads-up: I've observed my sensor trying to sleep for 4 billion ms when running the sample code:

      60082 MCO:SLP:MS=4294967214,SMS=0,I1=255,M1=255,I2=255,M2=255
      

      That's 2^32-82. So I think there's an underflow with this line:

      unsigned long sleeptime = BME280measurementSleepTime - (quicktimecheck - previousBME280Millis);
      

      Not sure where exactly though. I've changed my code to simply sleep for a constant 60s.

      posted in Announcements
      Mark Hansen
      Mark Hansen