# Error on my Processing GUI code for Arduino , I need some help

**URL:** <https://discourse.processing.org/t/error-on-my-processing-gui-code-for-arduino-i-need-some-help/33341>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [November 5, 2021, 5:08pm UTC](https://discourse.processing.org/t/error-on-my-processing-gui-code-for-arduino-i-need-some-help/33341 "2021-11-05T17:08:22Z")\
**Posts on this page:** 1\
**Showing post:** 42

<div class="post-metadata">

**Author:** ![fdinumario](https://avatars.discourse-cdn.com/v4/letter/f/838e76/32.png) [@fdinumario](https://discourse.processing.org/u/fdinumario)\
**Post date:** [November 18, 2021, 6:41am UTC](https://discourse.processing.org/t/error-on-my-processing-gui-code-for-arduino-i-need-some-help/33341/42 "2021-11-18T06:41:31Z")

</div>

I solved the problem , I just used the function to print all my data and I changed just a little bit Arduino code to show after label value a full word of parameter like instead of “winddir” is Wind direction: or instead of “windspeedmph” is Wind speed(mph).I wanted to thank you a lot for all your support and time .I will attach you the final Processing code which is in the simplest way I could do it .

```auto
import processing.serial.*;

String myString = null;
Serial myPort;

void setup()
{
size(700,700);
String portName = Serial.list()[5]; 
myPort = new Serial(this, portName, 9600);
myPort.clear();
myString = myPort.readStringUntil('*');
myString = null;

}
void draw()
{
  while ( myPort.available() > 0) 
  {  
  myString = myPort.readStringUntil('*'); 
  if (myString != null) {
    println(myString);
    

background(0);
textSize(40);
fill(176,38,255);
text("Weather station project:",50,50);

textSize(20);
fill(255,255,255);
text(myString,50,150);

     
   }
  } 
}

```

---

_[View the full topic](https://discourse.processing.org/t/error-on-my-processing-gui-code-for-arduino-i-need-some-help/33341)._
