PaulStoffregen
4b60f9f447
Improve delayMicroseconds on Teensy 2.0 (Graham)
7 anni fa
PaulStoffregen
dba739077b
Stream find functions const pointers are Teensy 2.0
7 anni fa
PaulStoffregen
bc36bfebdd
Update Print on Teensy 2.0 & Teensy++ 2.0
7 anni fa
PaulStoffregen
d2d4bfcfc1
Only define BYTE (ancient Arduino) if not conflicting with other headers
7 anni fa
PaulStoffregen
97c8395f33
Add pgmspace.h (no avr prefix), for compatibility with some ESP8266 programs
7 anni fa
PaulStoffregen
42972a31af
Add Keyboard.h & Mouse.h for Teensy 2.0
7 anni fa
PaulStoffregen
2b24e39e13
Improve bitWrite macro
8 anni fa
PaulStoffregen
731d9123f6
Keycode for Non-US backslash (thanks parsnip42)
fixes #159
8 anni fa
PaulStoffregen
336155e236
Merge digitalWriteFast for Teensy 2.0 (thanks KurtE)
fixes #130
8 anni fa
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 anni fa
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 anni fa
PaulStoffregen
12c5d4972d
Port new (windows compatible) media keys to Teensy 2.0
8 anni fa
PaulStoffregen
8a7f15d333
Add IPAddress fromString
8 anni fa
PaulStoffregen
d3e10a3c42
Add SerialUSB definition (Teensy 2.0)
9 anni fa
PaulStoffregen
1c3f859d21
Fix duplicate definition in German keyboard layout (Teensy 2.0)
9 anni fa
PaulStoffregen
13dd541650
Fix String conversion for unsigned char on Teensy 2.0
9 anni fa
PaulStoffregen
9fbebb5145
Add availableForWrite() on Teensy 2.0
9 anni fa
PaulStoffregen
809219a11a
Fix compiler warnings
9 anni fa
PaulStoffregen
8c25709390
Fix AVR Print buffer underflow
9 anni fa
PaulStoffregen
e4155125af
Add SERIAL_PORT definitions for Teensy 2.x
10 anni fa
PaulStoffregen
c86b9ca30b
Add yield() for Teensy 2.0
10 anni fa
PaulStoffregen
d783be33c1
Clean up trailing whitespace
10 anni fa
PaulStoffregen
9b857be028
Stop watchdog before attempting reboot on Teensy 2.0
10 anni fa
PaulStoffregen
bff3488fd1
Add Serial1.transmitterEnable(pin) for RS-485
11 anni fa
PaulStoffregen
1812ad9023
Use __cxa_guard stuff on Teensy 2.0
11 anni fa
PaulStoffregen
645b709750
Support both char * and uintu_t * in Print & Stream (Matthijs Kooijman)
11 anni fa
PaulStoffregen
b4b56ae747
Add printf for Teensy2
11 anni fa
PaulStoffregen
4f1f8dd218
Minor SPIFIFO tweaks
11 anni fa
PaulStoffregen
ee66b4f4a1
Fix new/delete operators
11 anni fa
PaulStoffregen
e435d02183
Czech keylayout fixes
11 anni fa
PaulStoffregen
a3e31ee55d
Add digitalPinToInterrupt
11 anni fa
PaulStoffregen
5cecdee933
Initial commit, version 1.17-rc1
11 anni fa