Help with Arduino uno r3 with rich shield code [SOLVED]

Hi to everyone!

I am trying to make this code for a greenhouse project. The idea is to turn on a LED when the humidity, temperature or light are too high(set to 128 out of 256 with a hysteresis of 28). Also there must be a button to cycle through these parameters on the display of the rich shield and if the knob on analog pin A3 is turned, the new value is displayed immediately.

I am testing it on Proteus, but it does not work. I have only the mega 2560 on a physical PCB. If someone has the nano r3 and the shield can you please test it for me and help me find, why the display does not show everything?

I solved the problem, so no help is necessary anymore.