Microcontroller cookbook [PIC & 8051] - James, Mike (Newnes, 2001)