It was defaulting to the same NUM_DIGITAL_PINS and NUM_ANALOG_INPUTS as the T4.0 so updated for the new pinsteensy4-core
#define PIN_SERIAL_TX (1) | #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_DIGITAL_PINS 40 | ||||
#define NUM_ANALOG_INPUTS 14 | #define NUM_ANALOG_INPUTS 14 | ||||
#endif | |||||
#define NOT_AN_INTERRUPT -1 | #define NOT_AN_INTERRUPT -1 | ||||