change pinModeSet from Long to String