diff --git a/README.md b/README.md index 4989c06..654ac88 100644 --- a/README.md +++ b/README.md @@ -125,8 +125,8 @@ Alternatively, ControlP5 can be instantiated from other places as well for examp class GUI { ControlP5 cp5; - GUI(ControlP5 theControlP5) { - cp5 = new ControlP5(theControlP5); + GUI(PApplet pApplet) { + cp5 = new ControlP5(pApplet); } } ```