I would like to get an arduino code for the following requirements
The system should monitor the temperature of the room.
Light different LEDs depending on the temperature
Sound an alarm if it is too hot.
Activate a fan through a transistor to cool the system down if it gets above a certain temperature.
Use different fan speeds depending on the temperature by pulsing the fan.
Implement an alarm reset system using a code sequence from button presses.
It should only work when the lights are on, using an LDR.
Use a potentiometer as a calibration mechanism.
Print out an array of information on request of a button press, including temperature in K, C, F, and system state.
Allow all aspects of the system to be configured using variables.

