You are reading a single comment by @hygy and its replies. Click here to read the full conversation.
  • @Gordon it is much better. It is sometimes reads -1 -1 but mostly it is good. (I'm running the tests on an ESP8266 with the new tve build.)

    getting DHT sensor values
    {
      "raw": "010000000110000110000000001100101101010010",
      "rh": 39, "temp": 20.3 }
    Temp is 20.3 and RH is 39
    getting DHT sensor values
    { "err": true, "checksumError": true,
      "raw": "01000000011000100000000000110010",
      "temp": -1, "rh": -1 }
    Temp is -1 and RH is -1
    getting DHT sensor values
    { "err": true, "checksumError": true,
      "raw": "0100000001100001110000000011001",
      "temp": -1, "rh": -1 }
    Temp is -1 and RH is -1
    getting DHT sensor values
    {
      "raw": "010000000110000111000000001100101101010011",
      "rh": 39.1, "temp": 20.3 }
    Temp is 20.3 and RH is 39.1
    

    Here is the build version:

    >reset()
    =undefined
     _____                 _
    |   __|___ ___ ___ _ _|_|___ ___
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v85.tve_master_cee7141 Copyright 2016 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    Flash map 4MB:512/512, manuf 0xe0 chip 0x4016
    
About

Avatar for hygy @hygy started