Fixed a mistake on the arduino Digital pins
replaced faulty arduino part with updated library