Gbertaz / NonBlockingDallas

Arduino library for the DS18B20 temperature sensor. Avoid blocking the sketch while reading the sensor.
MIT License
11 stars 4 forks source link

error in platform.io #3

Closed nate8199 closed 2 years ago

nate8199 commented 2 years ago

I'm new to this, and not sure if its a board issue, or something else,

src/main.cpp:22:35: error: 'handleIntervalElapsed' was not declared in this scope

src/main.cpp:23:37: error: 'handleTemperatureChange' was not declared in this scope

nate8199 commented 2 years ago

I figured this out, something to do with how the arduinoIDE does this for you, I just had to add this to the top of the file

include

void handleIntervalElapsed(float temperature, bool valid, int deviceIndex); void handleTemperatureChange(float temperature, bool valid, int deviceIndex);