Hello

This might give you some ideas

http://ww1.microchip.com/downloads/e...Doc/41215C.pdf