vffgaston:
My advice is to make three different pieces of code (.ino files). Once they work one by one, to merge them is not difficult (as long as they are quite small ones).Is the LCD working? (Can you display what you want?)
Regards
The LCD works and it shows the value the sensors had when I pressed the button, but it doesn't change until I press the button on the remote again. So i should just make separate codes and then when I want to use them in the If function for the Ir sensor and lcd I should just write something like
lcd.print(DHT.temperature) ...?