I replied and received one email from you... nothing since.
Never mind .
The Arduino code that you sent
http://www.jbprojects.net/projects/wifi ... _arduino.c uses codes that are very different to anything that I've used before.... it's taken sometime to read up on them in the Arduino reference libary and at least partially understand them.
The outputs from the Freeduino MaxSerial appear to be simple on/off switches ..... 4 pins... forward , reverse , left and right are held high then taken low to give a direction signal.
I have re read your first post and you seem to wish to retain the joystick function ... can I assume that you are a wheelchair user?
Adding a speed pot and some code to bias the digipots step number shouldn't be a problem ...0-5v on the pots ends and then analog read the pots wiper then divide the answer by 4 so ...( 0-1023 /8 ) = 0 - 128 range.
The neutral step of the digipot is 128 so your SPEED would be plus or minus the speed pots analog read... I.E MAX Forward command 128 + 128 pot reading = 256 resistance steps & MAX Reverse 128 - 128 pot reading = 0 resistance steps.
There just about enough spare pins on my Arduino Pro mini to accommodate 5 more inputs ... integrating the HIGH / LOW commands into my existing code ...especially if you wish to retain the joystick ... may take me sometime.
Cheers Woody