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 to easily add support for Trinket, Gemma,
Pro Trinket & more to the Arduino IDE.
You will need Arduino IDE 1.6 or greater
When you're finished installing the IDE & board manager add on 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! It will not show up as a PORT in the setup menu
If you are using Linux you may have to be "root" running the Arduino program to have access to the USB port
(or add udev exceptions)
© Adafruit Industries https://learn.adafruit.com/introducing-trinket Page 16 of 43