DS18B20 question

Hi everyone.I am very new to the Arduino but I was wondering if it is at all possible to call a part of a script dependent on temperature i.e using a DS18B20 and controlling a WS2812B light strip when the temperature reaches say 30 degrees.

Thank you all in advance.


Hi Spycatcher.

Thank you for that.I will have to go and find out about variables.Also not sure how to define the sensor and the led strip together.I will try to work it out though thank you.