Check out this app note: http://ww1.microchip.com/downloads/e...tes/00818a.pdf
You can do some really cool stuff on the 18F.