Fixed and added code to make the PIC work with the WISMO.