Skip to content

Due: solve issues with nonstandard pin operations #3524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 7, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Defaults output pins to LOW on Due
When a pin is designated as an output on the Arduino Due, the pin is set
to a HIGH logic level. Changing the default pin state to LOW makes the
behaviour correspond with AVR.
  • Loading branch information
mtayler authored and facchinm committed Jul 14, 2015
commit 9491c1f30814fff57e66b2e6c150a9eb165a6617
2 changes: 1 addition & 1 deletion hardware/arduino/sam/cores/arduino/wiring_digital.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) ;

Expand Down