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

  • 19
  • 3
  • 5
  • 22
  • 5
  • 7
  • 1

193
Online

9.2k
Users

9.9k
Topics

103.2k
Posts