Skip to content

Delay() inside the library  #3

@ndanilo8

Description

@ndanilo8

Hey!
I've been using this library for a real time system but during testing I found out something was "delaying" my code and after some digging I noticed this library uses the delay() function... would you be kind to fix this issue? or is there a way someone could give me a hand to remove this delay() functions?
I tried adding a If statement timer where I found the delay functions.. but they don't work.

The lines where there are delays:
https://github.com/sparkfun/SparkFun_PHT_MS8607_Arduino_Library/blob/master/src/SparkFun_PHT_MS8607_Arduino_Library.cpp#L252

https://github.com/sparkfun/SparkFun_PHT_MS8607_Arduino_Library/blob/master/src/SparkFun_PHT_MS8607_Arduino_Library.cpp#L455

https://github.com/sparkfun/SparkFun_PHT_MS8607_Arduino_Library/blob/master/src/SparkFun_PHT_MS8607_Arduino_Library.cpp#L764

Appreciate your input

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