Arduino-Zabbix-Agent icon indicating copy to clipboard operation
Arduino-Zabbix-Agent copied to clipboard

Error compile

Open fvancan opened this issue 5 years ago • 4 comments
trafficstars

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 avatar Mar 02 '20 17:03 fvancan

@fvancan What lib are you using for DHT? By the time I commited the code I failed on uploading libs

GabrielRF avatar Mar 12 '20 12:03 GabrielRF

@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,

fvancan avatar Mar 16 '20 15:03 fvancan

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.

septianerikas avatar Oct 24 '22 12:10 septianerikas

Does someone already know which library was used?

2641624 avatar Mar 29 '23 13:03 2641624