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 b5b50ca commit 74dea07Copy full SHA for 74dea07
build/shared/revisions.txt
@@ -2,6 +2,9 @@
2
[ide]
3
* Fixed IDE startup bug "Menu has no enabled items"
4
5
+[arduino core]
6
+* sam: portOutputRegister() is now writeable.
7
+
8
ARDUINO BETA 1.5.1r2 - 2012.11.06
9
10
* Fixed wrong release file for windows.
hardware/arduino/sam/variants/arduino_due_x/variant.cpp
@@ -352,6 +352,12 @@ void init( void )
352
for (int i = 0; i < PINS_COUNT; i++)
353
digitalWrite(i, LOW);
354
355
+ // Enable parallel access on PIO output data registers
356
+ PIOA->PIO_OWER = 0xFFFFFFFF;
357
+ PIOB->PIO_OWER = 0xFFFFFFFF;
358
+ PIOC->PIO_OWER = 0xFFFFFFFF;
359
+ PIOD->PIO_OWER = 0xFFFFFFFF;
360
361
// Initialize Serial port U(S)ART pins
362
PIO_Configure(
363
g_APinDescription[PINS_UART].pPort,
0 commit comments