Teensy 3.1
Teensyduino 1.20 in combination with Arduino 1.0.6 is able to compile Arduino code. Do not use Ardunio 1.6.0, it will fail. CrossPack for AVR maybe enables OSX to compile C-code with command line for Teensy 3.1 (not tested)
Attribute |
Value |
Type |
Teensy 3.1 |
Processor |
MK20DX256, 32 bit ARM Cortex-M4, 72 MHz |
Flash Memory |
262'144 bit |
RAM Memory |
65'536 bit |
EEPROM |
2048 bit |
Analog Input |
21 |
Analog Output |
1 |
Digital I/O Pins |
34 (3.3V, but 5V tolerant) |
PWM outputs |
12 |
Communication |
USB, Serial, SPI, I2C, CAN |
Compile
- Start Ardunio_Teensy
- Select: Tools -> Board -> Teensy 3.1
- Select: Tools -> CPU-Speed -> 72 MHz
- Select: Tools -> USB-Type -> Serial
- Select: File -> Examples -> Teensy -> Tutorial1 -> Blink
- Compile with const int ledPin = 11;
- Connect Teensy 3.1 board to USB port
- LED is blinking (runs default application from factroy)
- Flash board - maybe you have to press the button on the Teensy board and flash again
- Board stops blinking (because ledPin is 11 at Teensy 3.1)
- Now change to ledPin = 13 and flash again to check if led is blinking again
Website
Front Pins
Back Pins