PaulStoffregen
4a24e41108
Use names SerialUSB1 & SerialUSB2 for extra USB serial ports
4 лет назад
PaulStoffregen
e4b6abf862
USB Dual & Triple Serial on Teensy 4 (work in progress)
4 лет назад
PaulStoffregen
e2badb1e65
RawHID on Teensy 4.0, initial prep work
5 лет назад
Kurt Eckhardt
4f24f25a32
Main loop - call yield - yield can call SerialEvent
Comment out some of the main programs debug print statements plus add yield call to main loop.
yield can now call SerialEvent.
Put hack in that if the user has not overwritten the SerialEvent function, the weak linked one will turn off calling itself...
5 лет назад
PaulStoffregen
7e959d4a14
USB serial receive on IMXRT
5 лет назад
PaulStoffregen
e687673ddf
First commit, Teensy4 work-in-progress
6 лет назад
PaulStoffregen
5ae453cc5c
Use only DTR for (bool)Serial, RTS isn't reliable on Windows
6 лет назад
PaulStoffregen
e5006127db
Fix compiler warning, unused variable
7 лет назад
PaulStoffregen
0792b03a85
Remove USB Serial.begin 2.5 second wait for connection
7 лет назад
PaulStoffregen
7099935c0e
Update open source license info
7 лет назад
PaulStoffregen
243f48ce7a
USB Serial.begin wait to 2.5 seconds (hopefully enough)
7 лет назад
PaulStoffregen
57d3c69a6b
Update comment
7 лет назад
PaulStoffregen
766b855592
Lengthen USB Serial.begin() wait - needed for slow Windows systems
https://forum.pjrc.com/threads/44904-Teensyduino-1-37-Beta-3?p=146286&viewfull=1#post146286
7 лет назад
PaulStoffregen
768926244c
Use constexpr constructors for all Serial classes
7 лет назад
PaulStoffregen
3580ee2bd0
Add Print::availableForWrite
7 лет назад
PaulStoffregen
fb5b81d75f
Serial.begin() to wait up to 1 second for Arduino Serial Monitor
7 лет назад
Mr. B
dfc217e0a2
usb_serial.clear doesn't compile for F_CPU < 20 MHz
When clear function was added, it was not put in the null operations list when no USB enabled
7 лет назад
Kurt Eckhardt
6d3a261664
Add Serial.clear() to Teensy 3.x
On Teensy 3.x - we have Serial1.clear, Serial2.clear...
But not Serial.clear.
Serial.clear() exists for Teensy2, so thought I would try to add it for
Teensy 3s...
8 лет назад
PaulStoffregen
1225f43fd0
Report Serial bool operator true only after 25 ms
Sometimes the PC or Mac drivers are not actually ready to begin receiving data immediately after they cause DTR or RTS to assert. This delay allows the PC to become ready before we tell sketches the Serial device is true (ready).
9 лет назад
PaulStoffregen
db476e9130
Add support for USB_DISABLED
10 лет назад
PaulStoffregen
caa5312fbc
Opps, fix compile for slow speeds
10 лет назад
PaulStoffregen
2f14babf7d
Simplify customizing USB - no longer need to edit interface .h files
10 лет назад
PaulStoffregen
63639d7792
Fix confict in usb_serial.h vs usb_seremu.h (exposed by toolchain upgrade)
10 лет назад
PaulStoffregen
3b066ac09b
Always include inttypes.h in usb_serial.h
10 лет назад
Andrew J. Kroll
f8938ec150
Fix Yield when no Serial on USB
10 лет назад
PaulStoffregen
3b9ae1513b
rename writeBufferFree() to availableForWrite()
10 лет назад
PaulStoffregen
9c1e41e70e
Change room() to writeBufferFree()
https://groups.google.com/a/arduino.cc/d/msg/developers/ls3hkviFYM4/XWT2LbfzNcgJ
10 лет назад
PaulStoffregen
71160e91c2
Add Serial.room()
10 лет назад
PaulStoffregen
4c047eea2b
Add serialEvent (USB) and serialEvent1-3 (serial)
10 лет назад
PaulStoffregen
e42c5cefed
Support F_CPU < 20 MHz with USB disabled
10 лет назад
PaulStoffregen
d783be33c1
Clean up trailing whitespace
10 лет назад
PaulStoffregen
5cecdee933
Initial commit, version 1.17-rc1
11 лет назад