PIC18 Based Mini Digital Oscilloscope With Record Capability