Open traymaster opened 7 years ago
Could be any number of things. Posting your (full) code with an idea of where execution hangs would be a big help.
Hi Dan,
Thank you for your quick response!
The code does not hang; the client in a windows PC just does not receive any data. Data send from the windows PC does arrive at the Arduino. I I comment out the Nextion code then it works ok.
This is my setup code. By commenting out the number6 …. In the loop the Ethernet client works; by uncommenting the client stops sending data?
Nextion nex(Serial1); NextionNumber number1(nex, 0, 2, "T1Bottom"); NextionNumber number2(nex, 0, 10, "T1Top"); NextionNumber number3(nex, 0, 11, "T1Average"); NextionNumber number4(nex, 0, 12, "T1Ct1"); NextionNumber number5(nex, 0, 13, "T1Ct2"); NextionNumber number6(nex, 0, 14, "T1Ct3");
NextionText text1(nex, 0, 15, "t7");
void setup() {
Serial1.begin(9600); nex.init();
number1.setValue(10.0); number2.setValue(20.0); number3.setValue(30.0); number4.setValue(40.0); number5.setValue(50.0); number6.setValue(60.0);
text1.setText("dd/mm/yy hh:mm:ss");
loop code
number6.setValue(IO.pins[I05].lastReading[0]);
From: Dan Nixon [mailto:notifications@github.com] Sent: 24 February 2017 12:17 To: DanNixon/NeoNextion NeoNextion@noreply.github.com Cc: Robert Woodcock robert.woodcock@traymaster.co.uk; Author author@noreply.github.com Subject: Re: [DanNixon/NeoNextion] Ardunio Due+Ethernet2 (#24)
Could be any number of things. Posting your (full) code with an idea of where execution hangs would be a big help.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/DanNixon/NeoNextion/issues/24#issuecomment-282278071, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYwLxrt95qft4Drkp1jAYEeGrBIsfPEeks5rfspHgaJpZM4MLIue.
Can you share your full code.
Here is the code ..
From: Dan Nixon [mailto:notifications@github.com] Sent: 24 February 2017 16:09 To: DanNixon/NeoNextion NeoNextion@noreply.github.com Cc: Robert Woodcock robert.woodcock@traymaster.co.uk; Author author@noreply.github.com Subject: Re: [DanNixon/NeoNextion] Ardunio Due+Ethernet2 (#24)
Can you share your full code.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/DanNixon/NeoNextion/issues/24#issuecomment-282330320, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYwLxtsQ4m3e55hez12YX0xPF7RDdlzEks5rfwCEgaJpZM4MLIue.
Hello, the library stops the Ethernet client from sending data; it will receive but not send. If I comment out all the nextion code the send works. If add just one line for example number1.setValue(0,1,100) the Ethernet client stops sending?
Any thoughts/help .. I had hoped this would get me up and running with my project? Thanks Robert