Modified for new hardware
Added schematic and scope capture