diff --git a/hardware/arduino/sam/cores/arduino/wiring_digital.c b/hardware/arduino/sam/cores/arduino/wiring_digital.c index 7c958de8a..56039d03e 100644 --- a/hardware/arduino/sam/cores/arduino/wiring_digital.c +++ b/hardware/arduino/sam/cores/arduino/wiring_digital.c @@ -54,7 +54,7 @@ extern void pinMode( uint32_t ulPin, uint32_t ulMode ) case OUTPUT: PIO_Configure( g_APinDescription[ulPin].pPort, - PIO_OUTPUT_1, + PIO_OUTPUT_0, g_APinDescription[ulPin].ulPin, g_APinDescription[ulPin].ulPinConfiguration ) ;