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

  • 5
  • 23
  • 1
  • 3
  • 26
  • 6
  • 37
  • 4

202
Online

9.4k
Users

10.0k
Topics

104.5k
Posts