DSPIC homework