I got it to compile in MPLAB!!!
I checked out my program on the oscilloscope and I found that whenever the voltage changed, like from 0v to .33v it jumped for about .1us to 2v. I dont know why but instead of outputting a max of 1v my pic is putting out 2 to 3 volts. I guess I need bigger resistors.
EDIT:
Ive been timing everything down to a science and found this site (http://www.maxim-ic.com/appnotes.cfm/appnote_number/734) which has an excellent timing diagram for NTSC signals and I made my program as close as its going to get (one scanline is supposed to be 63.5us. Mine is 63.4)




Bookmarks