Explorar el Código

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
teensy4-core
Kurt Eckhardt hace 5 años
padre
commit
eb728eb9b6
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      teensy4/pins_arduino.h

+ 5
- 1
teensy4/pins_arduino.h Ver fichero

#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



Cargando…
Cancelar
Guardar