We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6a15f7 commit 4f4ddf0Copy full SHA for 4f4ddf0
atmel-samd/common-hal/digitalio/DigitalInOut.c
@@ -80,6 +80,9 @@ void common_hal_digitalio_digitalinout_switch_to_output(
80
pin_conf.input_pull = PORT_PIN_PULL_NONE;
81
port_pin_set_config(self->pin->pin, &pin_conf);
82
83
+ // Turn on "strong" pin driving (more current available). See DRVSTR doc in datasheet.
84
+ system_pinmux_pin_set_output_strength(self->pin->pin, SYSTEM_PINMUX_PIN_STRENGTH_HIGH);
85
+
86
self->output = true;
87
self->open_drain = drive_mode == DRIVE_MODE_OPEN_DRAIN;
88
common_hal_digitalio_digitalinout_set_value(self, value);
0 commit comments