The Teensy has 21 digital I/O pins and the Teensy++ has 38, which you can use to control many types of devices or read information. You can access the pins by their number, or using their pre-defined names shown in the table. These names match the printing on the circuit board.How to use Teensy LC and 3.x serial?
Teensy LC and 3.x support only specific alternate pins. This function may be called before Serial1.begin (baud), to pre-configure the pin used. It may also be used while the serial port is active. Physical pullup resistors are recommended for applications which change pins while running. Configure the serial port to use an alternate receive pin.Which is the serial port for Teensy 2.0?
Hardware Serial Port Signal Teensy 1.0 Teensy 2.0 Teensy++ 1.0 & 2.0 Serial1 Receive 2 7 2 Serial1 Transmit 3 8 3 Serial1 Transmit Enable Any Any Any Serial1 RTS - - - 36 more rows ...How to test the D7 pin on Teensy?
This very simple code only tests the D7 pin at the beginning of each blink. If a slow blink begins just before the button is pressed, there is a noticable lag time until the rapid blinking begins.