Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
M

Mark Hansen

@Mark Hansen
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • 💬 Atmospheric Pressure Sensor
    M Mark Hansen

    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.

    Announcements pressure bmp085
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular