Start a new topic

Nextion Editor

 Anyone have suggestions on installing the editor software. I keep getting " Nextion editor setp ended prematurely because of an error"  I am using Win7, any ideas?


Thanks,

  Richard


Update.  When trying to install EXE on computer, it would not install. Once I put it on a USB drive , then it installed.

 


1 person likes this

Hi,@Rkonnen. Maybe something wrong. I remember that the old version can not be installed in C/:,but the V0.21 has fixed it. You can download the lastest EXE here:http://itead.qiniudn.com/nextion-setup.exe 

Hope everything goes well !

 Question: Can someone help me out on this. I am trying to read an analog pin and write it to the Nextion 2.4. I have tried several different sketch combinations. Can some body just show me how it is done , so I can see what I am not getting.

@Rkonnen

You can try the tutorial from ITEAD

http://blog.iteadstudio.com/product-preview-nextion-in-an-arduino-project-2/


Use the code starting with "float getValue;".

Don't use the code starting with "#indluce nextion.h", it is not compatible with the new Arduino library from ITEAD.


@ITEAD

Could you add a comment in your tutorial to explain that the code starting with "#indluce nextion.h" is not valid any more with the new library.

By the way, it should be "include" instead of "indluce"...

Raphael,  So what am I missing below?

float getValue;
int value;
float oldvalue;

void setup() {
Serial.begin(9600);
}
void loop() {
getValue = analogRead(A0);
if (getValue = oldvalue)
{
;
}
else
{ oldvalue = getValue;
getValue = (getValue * 100 / 1023);
value = getValue;


Serial.print("t0.txt=");
Serial.write(0x22);
Serial.print(value);
Serial.write(0x22);
Serial.write(0xff);
Serial.write(0xff);
Serial.write(0xff);
}
delay(100);
}

 

In your code you have "if (getValue = oldvalue)" with one "=", but it should be two "==".

With the code "getValue = oldvalue" the value of getValue is changed back to oldValue :-)

Raphael,
  Thank you, that worked .
Brg,
  Richard

 

just wondering why the latest link in the wiki still points to an older revision .21

the update loads the newer 26 version though

Hi,@Charles lakins.

We have updated the download link.

The latest version is V0.26 by now.


1 person likes this
Hi, can anyone give me some information on how to work with the new waveform component. How to send commands to it.

 

The command is : add cmpID, ch, val

we have updated the wiki of instruction set:http://wiki.iteadstudio.com/Nextion_Instruction_Set#add_cmdID.2C_ch.2C_val

The tutorial of waveform component will be posted soon.TKS

The command is : add cmdID, ch, val


Maybe it should be cmpID instead of cmdID.

cmd = command

cmp = component


It should also be "ref cmpID" instead of "ref cpmID"


It is also nice if you insert links using the dedicated icon. 

Be a good example for the users of the forum :-) 



Thanks!@Raphael.

Here is the example of waveform component in Arduino_Nextion_library,

How to use wave form component:

http://docs.iteadstudio.com/ITEADLIB_Arduino_Nextion/class_nex_waveform.html



Login or Signup to post a comment