Updated readme and some comments

This commit is contained in:
Kristian Lauszus 2014-02-25 19:32:49 +01:00
parent 39b6c3b124
commit a24ecb5797
2 changed files with 13 additions and 10 deletions

View file

@ -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: Currently the following boards are supported by the library:
* All official Arduino AVR boards (Uno, Duemilanove, Mega, Mega 2560, Mega ADK, Leonardo etc.) * 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) * Arduino Due
* Note if you are using the Teensy 3.0 you should download this SPI library as well: <https://github.com/xxxajk/spi4teensy3>. You should then add ```#include <spi4teensy3.h>``` to your .ino file. * 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: <https://github.com/xxxajk/spi4teensy3>. You should then add ```#include <spi4teensy3.h>``` to your .ino file.
* Balanduino * Balanduino
* Sanguino * Sanguino
* Black Widdow * Black Widdow

View file

@ -823,15 +823,17 @@ MAKE_PIN(P33, CORE_PIN33_PORTREG, CORE_PIN33_BIT, CORE_PIN33_CONFIG);
#elif defined(ARDUINO_SAM_DUE) && defined(__SAM3X8E__) #elif defined(ARDUINO_SAM_DUE) && defined(__SAM3X8E__)
// Disable interrupts // SetDirRead:
// Enable the pull up resistor // Disable interrupts
// Set to INPUT // Enable the pull up resistor
// Enable PIO // Set to INPUT
// Enable PIO
// Disable interrupts // SetDirWrite:
// Disable the pull up resistor // Disable interrupts
// Set to OUTPUT // Disable the pull up resistor
// Enable PIO // Set to OUTPUT
// Enable PIO
#define MAKE_PIN(className, baseReg, pinMask) \ #define MAKE_PIN(className, baseReg, pinMask) \
class className { \ class className { \