Teensyduino 1.15 Release Candidate #2 Available

Status
Not open for further replies.

Paul

Administrator
Staff member
Here is a 2nd release candidate for Teensyduino 1.15:


Old beta download links removed. Please use the latest version:
https://www.pjrc.com/teensy/td_download.html



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:


  • 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
 
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.
 
Suggested update to Examples/Teensy/Tutorial1/Blink. I was briefly startled when blink didn't work :) Change
Code:
const int ledPin = 11;   // Teensy has LED on 11, Teensy++ on 6
to
Code:
const int ledPin = 11;   // Teensy 2.0 has LED on 11, Teensy++ 2.0 on 6, Teensy 3.0 on 13
 
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:
Code:
    // 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.
 
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.
 
Status
Not open for further replies.
Back
Top