user59170: I have been using the Ticker to blink a led successfully.
However, now I am fetching temperature from a DS18B20 in the main loop (which is using the OneWire library) and the blink is now erratic.
Is the Ticker suspended by the DallasTemperature/OneWire library?
It this suspending interrupts or something?
Maybe using the same interrupt?

user16591: Ticker does not interrupt your code. It is a OS-timer and will call your function once the time is elapsed.
The Tiker callback can be interrupted by a "real" interrupt or another Task with higher priority and does not provide any reliability - it will just be called. 
A solution (not the best) would be to disable manually all interrupts, if you can't solve it in another way.
If you just want a blinking led, you should use a Timer interrupt as your callback is short and fast. Maybe with the ICACHE_RAM_ATTR attribute.

59170: <p>I have been using the Ticker to blink a led successfully.
However, now I am fetching temperature from a DS18B20 in the main loop (which is using the OneWire library) and the blink is now erratic.</p>

<p>Is the Ticker suspended by the DallasTemperature/OneWire library?</p>

<p>It this suspending interrupts or something?</p>

<p>Maybe using the same interrupt?</p>
 16591: <p>Ticker does not interrupt your code. It is a OS-timer and will call your function once the time is elapsed.</p>

<p>The Tiker callback can be interrupted by a "real" interrupt or another Task with higher priority and does not provide any reliability - it will just be called. </p>

<p>A solution (not the best) would be to disable manually all interrupts, if you can't solve it in another way.</p>

<p>If you just want a blinking led, you should use a Timer interrupt as your callback is short and fast. Maybe with the <code>ICACHE_RAM_ATTR</code> attribute.</p>
