Changed prototypes in generator and added some code for dspic.
Adding UART and setup code.