Added setPin helper function (mainly for LED use)

As discussed here: https://forums.adafruit.com/viewtopic.php?f=22&t=52817&p=267011#p267011