Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compile #3

Open
fvancan opened this issue Mar 2, 2020 · 4 comments
Open

Error compile #3

fvancan opened this issue Mar 2, 2020 · 4 comments

Comments

@fvancan
Copy link

fvancan commented Mar 2, 2020

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?

@GabrielRF
Copy link
Contributor

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

@fvancan
Copy link
Author

fvancan commented Mar 16, 2020

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

@septianerikas
Copy link

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.

@2641624
Copy link

2641624 commented Mar 29, 2023

Does someone already know which library was used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants