Skip to content

Error compile #3

Open
Open

Description

@fvancan

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?

Activity

  1. GabrielRF commented on Mar 12, 2020

    @GabrielRF
    Contributor

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

  2. fvancan commented on Mar 16, 2020

    @fvancan
    Author

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

  3. septianerikas commented on Oct 24, 2022

    @septianerikas

    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.

  4. dtorreslab commented on Mar 29, 2023

    @dtorreslab

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions