Browse Source

Add SerialUSB definition (Teensy 2.0)

teensy4-core
PaulStoffregen 9 years ago
parent
commit
d3e10a3c42
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      teensy/pins_arduino.h

+ 2
- 0
teensy/pins_arduino.h View File

@@ -153,4 +153,6 @@ static inline uint8_t digitalPinToTimer(uint8_t pin)
#define SERIAL_PORT_HARDWARE Serial1
#define SERIAL_PORT_HARDWARE_OPEN Serial1

#define SerialUSB Serial

#endif

Loading…
Cancel
Save