Datasheet
Setting up with Arduino IDE
Chances are, you picked up a Trinket because it is programmable with the Arduino IDE. Note that
the Trinket is not a full Arduino-compatible, it uses a different (smaller) chip than the Uno, Mega,
Leonardo or Due. However, there are many small sketches and libraries that will work just fine.
Some may not even need anything other than pin number changes.
Arduino IDE Setup
Just follow the steps in the steps in the Adafruit Arduino IDE setup
guide (http://adafru.it/eUF) to easily install a pre-configured Arduino IDE to program Trinket!
When you're finished installing the IDE come back to this page to continue the Trinket guide.
Blink!
After installing the Arduino IDE with support for Adafruit's boards you can load a simple blinking LED
example to test uploading to Trinket works as expected. Open the Arduino IDE and replace the
sketch code with the following blink code:
Even though Trinket has a USB connector, it does not have a "Serial Console" capability, so
you cannot use Serial to send and receive data to/from a computer!
When you're ready to upload, make sure the "Programmer" in the Tools menu is set to
USBtinyISP!
If you are using Linux you will have to be "root" running the Arduino program to have access
to the USB port
© Adafruit
Industries
https://learn.adafruit.com/introducing-trinket Page 33 of 65