Send Data,Temp to Nextion

Hello.
I want to build a project with Temp. sensors , an IR sensor and GPS . I can’t find a code with any errors and i need your help. I want to send the data on a Text , on Nextion , but this will happend every time i press one of the buttons.
Thanks.

Bill95: Hello. I can't find a code with any errors and i need your help.

So, you found code without any errors and you didn't want that?

I mean that the code has a lot of errors and i can't use it . I need to see a code , as an example with comments , to understand how the code work and customize it . Sorry for my english .

Bill95: I mean that the code has a lot of errors and i can't use it . I need to see a code , as an example with comments , to understand how the code work and customize it . Sorry for my english .

If you have Googled and haven't found the code, then you will have to write your own or pay someone to write it for you.