Post to Twitter?

It seems to make the most sense to let Processing evaluate the script, then Arduino reacts any time something is sent over Serial.

How would I alter my Processing script to do this? I had tried that approach early on, but I was getting error messages from Processing, probably something I didn't declare properly for the variables.

Thanks!