I have been trying to use Gobetwino in my camera controller script to log the settings for each photo that is taken. I don't have much scripting knowledge and have butchered my script from other peoples work
I have my script export the frame number, a delay variable and a solenoid valve delay variable.
Everything works perfectly, as long as I do not change any of the variables from their defaults.
I get the following via the serial monitor / Gobetwino
Now if I change the 2nd or 3rd variable I get nothing outputted via Serial.print and my script freezes causing me to reset my Arduino.
I have tried using the logfile example from gobetwino and call it via
logdata(); with the variable hardcoded into void logdata, also with logdata(var1,var2,var3); etc and I get exactly the same result.
I am sure this is an issue with my code and not gobetwino. The script is too large to post here but can be found here http://bambi.ws/wp-content/uploads/2010/12/CamCon_Solenoid_logtest.zip
Any ideas are appreciated.