PaulStoffregen
97c8395f33
Add pgmspace.h (no avr prefix), for compatibility with some ESP8266 programs
7 vuotta sitten
PaulStoffregen
42972a31af
Add Keyboard.h & Mouse.h for Teensy 2.0
7 vuotta sitten
PaulStoffregen
2b24e39e13
Improve bitWrite macro
8 vuotta sitten
PaulStoffregen
731d9123f6
Keycode for Non-US backslash (thanks parsnip42)
fixes #159
8 vuotta sitten
PaulStoffregen
336155e236
Merge digitalWriteFast for Teensy 2.0 (thanks KurtE)
fixes #130
8 vuotta sitten
Kurt Eckhardt
9aa92c1c38
Avoid possible race condition
Remove possible race condition in setting and clearing transmitting.
Not from direct handling of this interrupt, but maybe another interrupt
happens right after we set UDR1, which by the time it finishes, the
transmit complete interrupt happens which clears it and returns and we
set transmitting.
8 vuotta sitten
Kurt Eckhardt
a4a65a44ed
Teensy 2 - Serial1.write() - maybe bypass queue
Add same speedup from Arduino core, that on Serial1.write, check to see
if output queue is empty and data register empty, if so simply stuff the
character out in the output queue, without needing to use interrupt to
start transmission. Helps speed up fast IO like 1MBS
Also, changed how UCSR1B is updated, to be like Arduino. In particular
it turns on and off specific bit(s) instead of complete set of register.
Needed if you wish to emulate half duplex with this uart.
8 vuotta sitten
PaulStoffregen
12c5d4972d
Port new (windows compatible) media keys to Teensy 2.0
8 vuotta sitten
PaulStoffregen
8a7f15d333
Add IPAddress fromString
8 vuotta sitten
PaulStoffregen
d3e10a3c42
Add SerialUSB definition (Teensy 2.0)
9 vuotta sitten
PaulStoffregen
1c3f859d21
Fix duplicate definition in German keyboard layout (Teensy 2.0)
9 vuotta sitten
PaulStoffregen
13dd541650
Fix String conversion for unsigned char on Teensy 2.0
9 vuotta sitten
PaulStoffregen
9fbebb5145
Add availableForWrite() on Teensy 2.0
9 vuotta sitten
PaulStoffregen
809219a11a
Fix compiler warnings
9 vuotta sitten
PaulStoffregen
8c25709390
Fix AVR Print buffer underflow
9 vuotta sitten
PaulStoffregen
e4155125af
Add SERIAL_PORT definitions for Teensy 2.x
10 vuotta sitten
PaulStoffregen
c86b9ca30b
Add yield() for Teensy 2.0
10 vuotta sitten
PaulStoffregen
d783be33c1
Clean up trailing whitespace
10 vuotta sitten
PaulStoffregen
9b857be028
Stop watchdog before attempting reboot on Teensy 2.0
10 vuotta sitten
PaulStoffregen
bff3488fd1
Add Serial1.transmitterEnable(pin) for RS-485
10 vuotta sitten
PaulStoffregen
1812ad9023
Use __cxa_guard stuff on Teensy 2.0
10 vuotta sitten
PaulStoffregen
645b709750
Support both char * and uintu_t * in Print & Stream (Matthijs Kooijman)
11 vuotta sitten
PaulStoffregen
b4b56ae747
Add printf for Teensy2
11 vuotta sitten
PaulStoffregen
4f1f8dd218
Minor SPIFIFO tweaks
11 vuotta sitten
PaulStoffregen
ee66b4f4a1
Fix new/delete operators
11 vuotta sitten
PaulStoffregen
e435d02183
Czech keylayout fixes
11 vuotta sitten
PaulStoffregen
a3e31ee55d
Add digitalPinToInterrupt
11 vuotta sitten
PaulStoffregen
5cecdee933
Initial commit, version 1.17-rc1
11 vuotta sitten