Corrected schematic and pin assignments