Check For USB Port Connection

Try a smaller textSize() that is <= 100.

Code below works to a maximum textSize(100) and displays in both setup() and draw() in Processing 3.5.4.

It does not display in setup() with Processing 4 Alpha 1.

void setup() 
	{
  size(1000, 360);
  background (255, 0, 0);
  
  println("got here");
  
  textSize(48);
  textAlign (CENTER,CENTER);

  text("Setup", width/2, height/4);               //Works!
  
  Opmessage ("Plug in the Arduino GPS Scanner");  //Works now!
  delay (2000);
	}

void draw() 
	{
  background(0, 255, 0);
  text("Draw", width/2, height/2);                //Works!
	}

void Opmessage (String Message)
  {
  text (Message, width/2, height/2);
  }

You will have to be quick to plug it in since you only have 1 sec!

:slight_smile:

1 Like