Skip to content

Switching to OneWireNg to avoid the compilation errors in DallasTemperature ? #295

Description

@mitra42

Hi - love your library - and its a dependency of our Frugal IoT library (frugaliot.naturalinnovation.org)

BUT .... Its dependent on Paul Stoffregen's OneWire library, and that library has a compiler warning that makes our library (or anything else that depends on "DallasTemperature") not compile cleanly.

Looking at the repo it appears to have been open for years and OneWire doesnt seem to be maintained
PaulStoffregen/OneWire#135
PaulStoffregen/OneWire#151

Have you considered using a different OneWire library ?

I've tested and changing in library.json

  • "paulstoffregen/OneWire": "^2.3.5"
  • "pstolarz/OneWireNg": ">=0.10.0"

would fix this as OneWireNg is compatible with OneWire (it still resolves <OneWire.h>)

I could switch frugaliot to Piotr Stolarz's fork of DallasTemperature but that is not as up to date as this main repo?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions