View Full Version : Teensyduino 1.15 Release Candidate #2 Available

06-21-2013, 07:46 PM
Here is a 2nd release candidate for Teensyduino 1.15:

Old beta download links removed. Please use the latest version:

Please give this a try and report any bugs. Try to include a sample program that reproduces the problem!

Here's a list of the changes since Teensyduino 1.15-rc1 (http://forum.pjrc.com/threads/23777-Teensyduino-1-15-Release-Candidate-1-Available):

Fix stall when connected to a Raspberry Pi that reboots
Add float number support to String
Add String remove()
String now formats unsigned char as a number, same as Print.
Add AVR pin number constants
Added open source license to Teensy3 core library files
Updated Firmata library
Fix USB product name customization header
Reduce USB memory usage

06-22-2013, 10:12 AM
Installing now. Minor point - in the installer, at the library selection step, FastSPI_LED has no description. The description for MIDI still says it is version 2.6 but I believe it was updated to 3.2.

06-22-2013, 10:30 AM
Suggested update to Examples/Teensy/Tutorial1/Blink. I was briefly startled when blink didn't work :) Change

const int ledPin = 11; // Teensy has LED on 11, Teensy++ on 6

const int ledPin = 11; // Teensy 2.0 has LED on 11, Teensy++ 2.0 on 6, Teensy 3.0 on 13

06-22-2013, 10:43 AM
Looking in avr_emulation.h, I wonder if it would be possible to add TWBR emulation for I2C speed switching? As an example, lots of Adafruit libraries do this:

// save I2C bitrate
uint8_t twbrbackup = TWBR;
TWBR = 12; // upgrade to 400KHz!

// do some stuff

TWBR = twbrbackup;

While that AVR-ism isn't good practice, adding the emulation would allow those libraries to work unchanged on Teensy 3.0.

06-24-2013, 10:52 PM
I've edited the library descriptions and the Blink comment.

TWBR is on my to-do list. I've been planning to add it in Wire.h rather than avr_emulation.h.

06-26-2013, 10:43 AM
Here's the TWBR feature (http://forum.pjrc.com/threads/23798-Sabernetics-I2C-OLED-display-Adafruit-SSD1306-library-problem?p=32988&viewfull=1#post32988).