Nextion Display Sends inconsistently when not on main Page

So i have this weird Problem. My Arduino Code is perfectly fine, when sending button values to my MCU it works all the time as long as those buttons are on the main page. When i move the excact same button to a subpage, it works inconsistently. So basically it does not send 1 out of 10 times. I Also tried to copy the whole main page but it did not work too. I also tried to make those Buttons vscope to global. But i read in the datasheet of the Nextion display that when you open a new page, the old one gets "erased" from the memory and the new one is loaded. Should'nt have they the same behaviour? Would be very thankful for any kind of help

The Hardware im using:

  • Custom mega 2560 board (fully working)
  • Programmed with Microchip Studios (With Arduino librarys ofc :wink: )
  • Nextion NX8084P070

I also checked the serial Monitor on Atmel Studios, it looks like it does not send anything at all when it ghosts. Button visually toggles, but the display does not send anything

@rebem24

Your other topic on the same subject deleted.

Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum

It will help you get the best out of the forum in the future.

Thank you.

Hello @rebem24 ,
I suggest you start here: Using Nextion displays with Arduino

In order to help you would need to provide at least your code and a schematic showing how you have connected the Nextion and any other devices. It might help to see your HMI file, which would need to be in a zip file to upload it to the forum.

What does:

mean?
Which libraries?
What is 'ofc'?

How do you know it doesn't send anything? Have you considered that it might be sending what it is supposed to send but your code is not receiving it?

I know that the code works how i said, i can move the button to another Page and it works there, sending the same things. I just want to know if there is a difference between main and subpage. And what are the differences?

There are no significant differences that I can think of, certainly nothing that would account for any problems you are having.

There is only one page, no hierarchy, you can only choose which is displayed.

I cant understand why it works on the main page and not on subpages? I can copy paste the buttons to the main page and it works there. Are there any Output settings?

[Mod edit: Spammy link removed, subsequent messages about the link also deleted]