- Click on the 'Basic' tab and select the 'forever' loop
The 'forever' loop will always repeat any statements and/or blocks located inside of it, unless it is interrupted.
- Drag the 'forever' loop over onto the blank page
Click on the ‘Variables’ tab, select the ‘Make a Variable’ option and name the variable as ‘
The variable you have named has now been created. Select the ‘set brightness to 0’ block and drag it in-between the ‘forever’ block
Next click on the ‘advanced’ tab, then the pins tab. Select the ‘analog read pin P0’ block, drag and snap it onto the right of the ‘set brightness’ block
Change the pin being read by clicking on the 'P0' dropdown menu and selecting the pin you have connected the temperature sensor to