Browse Source

Merge pull request #358 from yuroller/sanguino_spi

Definitions for Sanguino SPI
daid 12 years ago
parent
commit
3a1cd30ce1
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      ArduinoAddons/Arduino_0.xx/Sanguino/cores/arduino/pins_arduino.h

+ 5
- 0
ArduinoAddons/Arduino_0.xx/Sanguino/cores/arduino/pins_arduino.h View File

@@ -39,6 +39,11 @@
39 39
 #define TIMER2A 6
40 40
 #define TIMER2B 7
41 41
 
42
+const static uint8_t SS   = 4;
43
+const static uint8_t MOSI = 5;
44
+const static uint8_t MISO = 6;
45
+const static uint8_t SCK  = 7;
46
+
42 47
 extern const uint8_t PROGMEM port_to_mode_PGM[];
43 48
 extern const uint8_t PROGMEM port_to_input_PGM[];
44 49
 extern const uint8_t PROGMEM port_to_output_PGM[];

Loading…
Cancel
Save