Hi All. First post and a newbie so be gentle please
![]()
I am in the process of learning coding as well as trying to get to grips with a Nextion display. I have got the basic grasp of what i need to do but when i come to "declare objects",
- Do you list the objects in page/object order?
- List the objects by type?
- It dosent matter?
NexButton b0 = NexButton(2, 1, "b0"); Â // Button added
NexButton b1 = NexButton(2, 2, "b1"); Â // Button added
NexButton b2 = NexButton(2, 3, "b2"); Â // Button added
NexButton b3 = NexButton(2, 4, "b3"); Â // Button added
NexButton b4 = NexButton(2, 5, "b4"); Â // Button added
NexButton b5 = NexButton(2, 6, "b5"); Â // Button added
NexButton b6 = NexButton(2, 7, "b6"); Â // Button added
NexButton b7 = NexButton(2, 8, "b7"); Â // Button added
NexButton b8 = NexButton(2, 9, "b8"); Â // Button added
NexButton b9 = NexButton(2, 10, "b9"); Â // Button added
NexButton b10 = NexButton(2, 11, "b10"); Â // Button added
NexButton b1 = NexButton(0, 9, "b1"); Â // Button added
NexButton b0 = NexButton(0, 1, "b0"); Â // Button added
NexButton b4 = NexButton(0, 11, "b4"); Â // Button added
NexDSButton bt0 = NexDSButton(0, 8, "bt0"); Â // Dual state button added
NexSlider h0 = NexSlider(0, 4, "h0"); Â // Slider added
NexText t5 = NexText(2, 12, "t5"); Â // Text box added, so we can read it
NexText t6 = NexText(2, 13, "t6"); Â // Text box added, so we can read it
NexText t7 = NexText(2, 14, "t7"); Â // Text box added, so we can read it
NexRadio r0 = NexRadio(2, 4, "r0"); Â // Radio checkbox added
NexRadio r1 = NexRadio(2, 5, "r1"); Â // Radio checkbox added