From a24ecb57977e8aad850b7aed635c65b8e9397fc1 Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Tue, 25 Feb 2014 19:32:49 +0100 Subject: [PATCH] Updated readme and some comments --- README.md | 5 +++-- avrpins.h | 18 ++++++++++-------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 56152496..80715680 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,9 @@ By default serial debugging is disabled. To turn it on simply change ```ENABLE_U Currently the following boards are supported by the library: * All official Arduino AVR boards (Uno, Duemilanove, Mega, Mega 2560, Mega ADK, Leonardo etc.) -* Teensy (Teensy++ 1.0, Teensy 2.0, Teensy++ 2.0, and Teensy 3.0) - * Note if you are using the Teensy 3.0 you should download this SPI library as well: . You should then add ```#include ``` to your .ino file. +* Arduino Due +* Teensy (Teensy++ 1.0, Teensy 2.0, Teensy++ 2.0, and Teensy 3.x) + * Note if you are using the Teensy 3.x you should download this SPI library as well: . You should then add ```#include ``` to your .ino file. * Balanduino * Sanguino * Black Widdow diff --git a/avrpins.h b/avrpins.h index 2bfcdc10..e75042b2 100644 --- a/avrpins.h +++ b/avrpins.h @@ -823,15 +823,17 @@ MAKE_PIN(P33, CORE_PIN33_PORTREG, CORE_PIN33_BIT, CORE_PIN33_CONFIG); #elif defined(ARDUINO_SAM_DUE) && defined(__SAM3X8E__) -// Disable interrupts -// Enable the pull up resistor -// Set to INPUT -// Enable PIO +// SetDirRead: +// Disable interrupts +// Enable the pull up resistor +// Set to INPUT +// Enable PIO -// Disable interrupts -// Disable the pull up resistor -// Set to OUTPUT -// Enable PIO +// SetDirWrite: +// Disable interrupts +// Disable the pull up resistor +// Set to OUTPUT +// Enable PIO #define MAKE_PIN(className, baseReg, pinMask) \ class className { \