Corrected portMode parsing error and pinMode parsign error