Bladeren bron

Merge pull request #358 from yuroller/sanguino_spi

Definitions for Sanguino SPI
daid 12 jaren geleden
bovenliggende
commit
3a1cd30ce1
1 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  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 Bestand weergeven

39
 #define TIMER2A 6
39
 #define TIMER2A 6
40
 #define TIMER2B 7
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
 extern const uint8_t PROGMEM port_to_mode_PGM[];
47
 extern const uint8_t PROGMEM port_to_mode_PGM[];
43
 extern const uint8_t PROGMEM port_to_input_PGM[];
48
 extern const uint8_t PROGMEM port_to_input_PGM[];
44
 extern const uint8_t PROGMEM port_to_output_PGM[];
49
 extern const uint8_t PROGMEM port_to_output_PGM[];

Laden…
Annuleren
Opslaan