Datasheet
under the ATtiny85 heading to
chip_erase_delay = 400000;
That is, a shorter delay.
Can Trinket driver Neopixels (strips, squares, etc)? How many?
Yes! Trinket was designed to drive short segments of NeoPixels. There is enough RAM on the
attiny85 to drive 100 pixels, but depending on program RAM usage you may have to scale back
to 60 or 40.
You can use EITHER the 3V or 5V Trinket, at EITHER 8 or 16MHz!
To use with neopixels:
1. Connect the + power line of the strip to VBUS (5V from USB), to VBAT if you are powering
the Trinket with 4-7VDC, or to a separate 4-7VDC power source such as a 3 or 4 pack of
AA batteries.
2. Connect the - common ground to the battery pack (if being used) and also to the Trinket
GND pin
3. Connect the data in line to Trinket #1 - this will let you also see when data is being sent
because the #1 red LED will flicker. You can use other pins but start with #1 since its
easiest to debug and use
4. Install the NeoPixel library as detailed in our Uber Guide (http://adafru.it/cEz), and change
the PIN to 1 (its 6 by default)
5. Upload and enjoy!
Can the Trinket drive your Adafruit I2C LED Backpacks for 7-segment/matrix displays?
Short answer: yes! Check out http://learn.adafruit.com/tap-tempo-trinket (http://adafru.it/cEA) for
a tutorial on driving the 7-segment displays. Long answer: we think there's not enough space for
all of the fonts for the 8x8 so you might be able to drive the 8x8 matrix in 'raw' mode (see the
HT16K33 example sketch in the LEDBackpack Library) but unfortunately not with built-in font
support.
That tutorial also shows how to use the TinyM I2C driver, which works great on the ATtiny85,
and adapt other existing libraries for the Trinket
Can Trinket drive a Servo?
Yup! In fact you can use 3 servos as long as they are powered by a good 5V supply, check out
this guide for more details (http://adafru.it/cFC)
Why does Windows sound the Connect/Disconnect chimes every ten seconds?
The Trinket only appears to be a USBtinyISP device when the bootloader is running. By design,
the bootloader only runs for 10 seconds and then jumps back to the main user sketch. this
© Adafruit
Industries
https://learn.adafruit.com/introducing-trinket Page 64 of 65