AD problem... update.

I think the problem was that I was running the program in debug instead of release mode in MPLAB. When I ran in release I think it runs OK, I have to double check on that.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…