|
1 | 1 | /* |
2 | 2 | This example demonstrates the use of multiple USB CDC/ACM "Virtual |
3 | | - Serial" ports, using Ha Thach's TinyUSB library, and the port of |
4 | | - that library to the Arduino environment |
5 | | -
|
6 | | - https://github.com/hathach/tinyusb |
7 | | - https://github.com/adafruit/Adafruit_TinyUSB_Arduino |
| 3 | + Serial" ports |
8 | 4 |
|
9 | 5 | Written by Bill Westfield (aka WestfW), June 2021. |
10 | 6 | Copyright 2021 by Bill Westfield |
11 | 7 | MIT license, check LICENSE for more information |
| 8 | +*/ |
12 | 9 |
|
13 | | - The example creates three virtual serial ports. Text entered on |
14 | | - any of the ports will be echoed to the all ports. |
| 10 | +/* The example creates two virtual serial ports. Text entered on |
| 11 | + any of the ports will be echoed to the all ports with |
| 12 | + - all lower case in port0 (Serial) |
| 13 | + - all upper case in port1 |
15 | 14 |
|
16 | | - The max number of CDC ports (CFG_TUD_CDC) has to be changed to at least 2. |
17 | | - Config file is located in Adafruit_TinyUSB_Arduino/src/arduino/ports/platform/tusb_config_platform.h |
18 | | - where platform is esp32, nrf, rp2040, samd |
| 15 | + The max number of CDC ports (CFG_TUD_CDC) has to be changed to at least 2. |
| 16 | + Config file is located in Adafruit_TinyUSB_Arduino/src/arduino/ports/platform/tusb_config_platform.h |
| 17 | + where platform is one of: esp32, nrf, rp2040, samd |
19 | 18 | */ |
20 | 19 |
|
21 | 20 | #include <Adafruit_TinyUSB.h> |
|
0 commit comments