

further there is some USB functionality on board for interfacing with a PC. You thus might refer to a microcontroller board with an ARM M4 processor core built in and a bunch of peripherals also in the same housing, including a few serial ports (seen up to 6 such units in one data sheet). That far i can see the Teensy board comes in various flavors.
Arduino prolific usb to serial comm port code#
You find more information and example code in the Teensy user WIKI:
Arduino prolific usb to serial comm port Pc#
You can do something like that: Stream& control = Serial Ĭontrol.println(someData) // send data to the PC over the main communication channelĭebug.printf("%d sent some data\n", millis()) // send some debug info on the debug channel If you now want/need some debugging/logging information it is really convenient to use the second port for that and monitor debug messages on a standard terminal (or t圜ommander). it sends commands, receives results etc over this port. (it is generally much more useful as the stock uploader)Īs for your question about the use cases: The multiple serial modes are especially useful if you have a PC application which communicates with your Teensy over the main serial port.

T圜ommnander (Alternative uploader) handles these modes nicely and opens a dedicated serial monitor for each of the ports. In Windows they will show as 3 different serial ports with dedicated COM Port numbers.

In dual/triple serial mode the Teensy implements a composite USB device consisting of 3 CDC-ACM (virtual Serial) devices.
