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


 

311
Online

7.9k
Users

8.8k
Topics

93.8k
Posts