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

  • 87
  • 7
  • 10
  • 6
  • 7
  • 8

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts