Browse Source

Add SERIAL_PORT definitions for Teensy 2.x

main
PaulStoffregen 10 years ago
parent
commit
e4155125af
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      teensy/pins_arduino.h

+ 5
- 0
teensy/pins_arduino.h View File

@@ -148,4 +148,9 @@ static inline uint8_t digitalPinToTimer(uint8_t pin)
}
}

#define SERIAL_PORT_MONITOR Serial
#define SERIAL_PORT_USBVIRTUAL Serial
#define SERIAL_PORT_HARDWARE Serial1
#define SERIAL_PORT_HARDWARE_OPEN Serial1

#endif

Loading…
Cancel
Save