Added setPin() function
Merge pull request #14 from tobiasebsen/set-pin

Added setPin() function