Code Error Correction

Corrected Errors in Pin Declaring Procedure.