Moved global stuff to extern. Moved gpio config structures to gpio.c.
Added gpio.c
Wrote rxPS2Struct() and txPS2Struct() to send joystick data. These do bitstuffing for an arbitrary frame of data.