I've created an omnibot hacked robot using an arduino, ardumoto shield, and a bluetooth mate shield. Everything is working just fine as is, however i'ld like to try to create an interface to control this with my iPhone. It seems that I should be able to get this to work using TouchOsc and Processing. I've found a few tutorials now and its gotten me halfway there.
Here's the code i'm using at the moment. And my touchOsc template has one toggle button labelled toggle1.
What i'ld like to do is have 4 push buttons instead of toggle buttons that are arranged in touchOsc like a d-pad. The idea being that i can then hold down one of the 4 buttons, and have the robot move in that direction.