removed call to set_pin_mode from DigitalPin.__init__