Skip to content

Commit 244c3a4

Browse files
committed
update texts for cdc_multi example
1 parent 17385ba commit 244c3a4

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

.github/workflows/githubci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
- name: pre-install
4242
run: bash ci/actions_install.sh
4343

44+
#- name: Install Libraries for building examples
45+
# run: arduino-cli lib install "Adafruit SPIFlash" "MIDI Library" "Adafruit seesaw Library" "Adafruit NeoPixel" "SdFat - Adafruit Fork" "SD" "Adafruit Circuit Playground" "Adafruit InternalFlash"
46+
4447
- name: test platforms
4548
run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}
4649

examples/CDC/cdc_multi/cdc_multi.ino

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
/*
22
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
84
95
Written by Bill Westfield (aka WestfW), June 2021.
106
Copyright 2021 by Bill Westfield
117
MIT license, check LICENSE for more information
8+
*/
129

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
1514
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
1918
*/
2019

2120
#include <Adafruit_TinyUSB.h>

0 commit comments

Comments
 (0)