Browse Source

missed pin 26

main
sumotoy 8 years ago
parent
commit
892d07181d
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      teensy3/SPIFIFO.h

+ 5
- 0
teensy3/SPIFIFO.h View File

} else if (pin == 15) { // PTC0 } else if (pin == 15) { // PTC0
CORE_PIN15_CONFIG = PORT_PCR_MUX(2); CORE_PIN15_CONFIG = PORT_PCR_MUX(2);
p = 0x10; p = 0x10;
#if defined(__MK64FX512__) || defined(__MK66FX1M0__)
} else if (pin == 26) {
CORE_PIN26_CONFIG = PORT_PCR_MUX(2);
p = 0x01;
#endif
} else { } else {
reg = portOutputRegister(pin); reg = portOutputRegister(pin);
pinMode(pin, OUTPUT); pinMode(pin, OUTPUT);

Loading…
Cancel
Save