I'm trying to base this on Tip #1 from http://ww1.microchip.com/downloads/e...Doc/41214a.pdf, but evidently I'm not turning the suggested steps into code very well.