Removed bugs to make pin get/set functions work
Made minor adjustments to bypass setup fail of PC serial stream (unncessary)