How to add Local Sensor to Rasbeery Pi Gateway



  • Hi, need some help. I'd like to add a local sensor to my RPi gateway. In this case a DHT. when I try to compile my config I get a
    examples_linux/mysgw.cpp:76:18: fatal error: DHT.h: No such file or directory
    #include <DHT.h>
    ^
    compilation terminated.
    Makefile:114: recipe for target 'build/examples_linux/mysgw.o' failed
    make: *** [build/examples_linux/mysgw.o] Error 1

    I put the DHT.h and DHT.cpp in the Example_Linux folder.

    Guess I'm doing this the wrong way, so need directions here.
    Thx
    Håkan


Log in to reply
 

Suggested Topics

  • 74
  • 7
  • 3
  • 17
  • 5
  • 6
  • 9
  • 1

297
Online

9.9k
Users

10.4k
Topics

107.5k
Posts