// Simple controller for my Rover 5// On the rover end, direction keys are mapped out for a numeric keypad.// speed is selected from z- 25%, x- 50%, c- 75%, v- 100%.// at the moment any other key stops the rover.// this programme takes X/Y values from a Sparkfun joystick shield// and translates the 2 axis into a character from "1" to "9"// at the same time we get a "speed" value based on how much stick was given.// "z" -> "v"// the speed command is sent first, then the direction command.// I'm running this code on a Mega.