We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi I'm using the G4P library for a GUI inteface that must show some data coming via serial . I don't have problems to write value inside the texfield using data that are inside a byte using the below instructions:
String sonda_F1= str(char(inBuffer))+str(char(inBuffer))+str(char(inBuffer))+str(char(inBuffer));
I've problems when I try to read what I wronte inside the textfield1 as follow :
String my_datatxt = textfield1.getText();
println("My data :" my_datatxt);**
The output show just "My data :"
I've used the same method with a lable and lable11.getText() has worked fine , Where I'm wrong ?? :(
And another thing... assuming that I'm able to read the content of textfield1 and I got a value like this "1234", how can I split these in for different character to be store inside 4 location of a byte ?
Thanks since now for any suggestion ! :D