We are about to switch to a new forum software. Until then we have removed the registration on this forum.
When attempting the following code with size() or fullScreen() it fails and I get the noted console message .. ideas ? THX
LEDStrip Strip1;
void setup(){ fullScreen(); frameRate(30); background(0); }
void draw(){ Strip1 = new LEDStrip(0,0,196.8,0,300); }
Exception in thread "Animation Thread" java.lang.IllegalStateException: fullScreen() cannot be used here, see https://processing.org/reference/fullScreen_.html at processing.core.PApplet.insideSettings(PApplet.java:933) at processing.core.PApplet.fullScreen(PApplet.java:1831) at LEDStrip_Class.setup(LEDStrip_Class.java:65) at processing.core.PApplet.handleDraw(PApplet.java:2378) at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1527) at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:316)
Answers
https://forum.Processing.org/two/discussion/15473/readme-how-to-format-code-and-text
https://Processing.org/reference/fullScreen_.html
https://Processing.org/reference/settings_.html
TY so much !!!