hi,
i just try to help other,
this generator output as php script.

link to this generator :
http://arduino.thehoster.netStep by step :
http://arduino.thehoster.net/faq.phphow its work
this script write to Com Port as you set,
and read from Com Port
example :
i upload on my arduino :
if (val == 'w'){
Serial.println("Robot Forward");
so i set on Generator Controller output
to "w" then when button "w" press script will write -> w to comport
and bot working as set on your sketch
this Generator not help much but just reference for your project,
any suggestion will help me,
sorry for any mistake,
thanks,