I purchased Lucio Di Jasio’s book Programming 32-bit Microcontrollers in C (Exploring the PIC32) a while ago and love it. However, I’ve been struggling over the last few nights to get the composite video stuff to work on my PIC32 Starter Kit + IO Expansion board. The simple resistor DAC seems to be working fine but the output on the TV looks to have an extra pixel or two per line. A vertical line shifts right every line and then resets about every 8 lines or so.

I need to do more debugging with a scope attached to see what is up but it isn’t turning out to be turnkey — I suspect this is something to do with my setup and not the book or code itself.