We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Using: Windows 7 and Chrome 38.0.2125.104 m
The Processing sketch here below shall show "Value A = 5" on the first line when loaded I have succeed only to pass it by buttons, but no success during the onload process.
All I need is to set the "var1" and "var2" in the webpage by JS calculation during the sketch loading. Once they are set, I need to pass them to the processing sketch.
I get an error during web page loading (in the Chrome debug):
Uncaught TypeError: Cannot read property 'setServos' of undefined changeServos (anonymous function)
Once PJS loaded, the function works when using buttons ....
Could someone help me how to make it work?