Reads the analog temperature sensor every 100 ms. Converts analog value to temperature (°C). Stores it in a shared variable currentTemp protected by a mutex. alarmTask Checks the current temperature ...
Analog input A0 Used for the temperature sensor input, through which we will obtain the system temperature. Digital inputs (PWM) 3, 5 and 6 Used for the rgb led, through which, varying its values ...