Browse Source

T4.1 Update count of digital and analog pins

It was defaulting to the same NUM_DIGITAL_PINS and NUM_ANALOG_INPUTS as the T4.0 so updated for the new pins
main
Kurt Eckhardt 4 years ago
parent
commit
eb728eb9b6
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      teensy4/pins_arduino.h

+ 5
- 1
teensy4/pins_arduino.h View File

@@ -93,9 +93,13 @@ const static uint8_t SCL = 19;
#define PIN_SERIAL_TX (1)


#ifdef ARDUINO_TEENSY41
#define NUM_DIGITAL_PINS 55
#define NUM_ANALOG_INPUTS 18
#else
#define NUM_DIGITAL_PINS 40
#define NUM_ANALOG_INPUTS 14

#endif

#define NOT_AN_INTERRUPT -1


Loading…
Cancel
Save