Arduino-Zabbix-Agent
Arduino-Zabbix-Agent copied to clipboard
Error compile
Hi, I try to compile, but received this error
sketch_mar02b.ino:34:1: error: ‘dht’ does not name a type sketch_mar02b.ino: In function ‘void readDHT11()’: sketch_mar02b.ino:130:14: error: expected primary-expression before ‘.’ token sketch_mar02b.ino:132:12: error: ‘DHTLIB_OK’ was not declared in this scope sketch_mar02b.ino:134:12: error: ‘DHTLIB_ERROR_CHECKSUM’ was not declared in this scope sketch_mar02b.ino:137:12: error: ‘DHTLIB_ERROR_TIMEOUT’ was not declared in this scope sketch_mar02b.ino:144:15: error: expected primary-expression before ‘.’ token sketch_mar02b.ino:145:15: error: expected primary-expression before ‘.’ token
Could you help me?
@fvancan What lib are you using for DHT? By the time I commited the code I failed on uploading libs
@fvancan What lib are you using for DHT? By the time I commited the code I failed on uploading libs
Hi @GabrielRF!
I'm using the lib from this site https://github.com/adafruit/DHT-sensor-library Could you committed yours lib, please?
Regards,
zabbix_sensor_agent_interlegis.ino: In function 'void readDHT11()': zabbix_sensor_agent_interlegis:132:12: error: 'DHTLIB_OK' was not declared in this scope case DHTLIB_OK:
kindly share your DHT library please.
Does someone already know which library was used?