Error compiling NodeManager DHT22 sensor



  • Error compiling DHT22 sensor

    I'm trying to make a simple DHT22 sensor Nodemanagersketch

    nodeManager.registerSensor(SENSOR_DHT22,6);

    But when I try to compile I get a warning in the NodeManager.cpp file:
    _dht->setup(_pin,_dht_type);

    and in the bottom field 'class DHT' has no member named 'setup'

    Does anyone know what I'm doing wrong?


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.