This is the code for the PIC32MX13 that sits on the sync-module of the WiLMA system