Browse Source

Merge pull request #358 from yuroller/sanguino_spi

Definitions for Sanguino SPI
pull/1/head
daid 12 years ago
parent
commit
3a1cd30ce1
  1. 5
      ArduinoAddons/Arduino_0.xx/Sanguino/cores/arduino/pins_arduino.h

5
ArduinoAddons/Arduino_0.xx/Sanguino/cores/arduino/pins_arduino.h

@ -39,6 +39,11 @@
#define TIMER2A 6 #define TIMER2A 6
#define TIMER2B 7 #define TIMER2B 7
const static uint8_t SS = 4;
const static uint8_t MOSI = 5;
const static uint8_t MISO = 6;
const static uint8_t SCK = 7;
extern const uint8_t PROGMEM port_to_mode_PGM[]; extern const uint8_t PROGMEM port_to_mode_PGM[];
extern const uint8_t PROGMEM port_to_input_PGM[]; extern const uint8_t PROGMEM port_to_input_PGM[];
extern const uint8_t PROGMEM port_to_output_PGM[]; extern const uint8_t PROGMEM port_to_output_PGM[];

Loading…
Cancel
Save