![]() ![]() ![]() The ATTiny85 only has 8KB of program space.But as I worked with it, I realized that it wasn’t an ideal starting point for my own project. It’s a great project, I learned a lot from studying it, and I’m very grateful to Mr. Someone else has already done the hard parts for me yay! A few minutes of searching led me to Phillip Burgess‘ Trinket / Gemma Space Invader Pendant. I wanted to put together the Trinket, the 8×8 LED matrix and an I☬ sensor for a project I’m planning. Just want the code? Here you go: (16KB) or playanim.zip (20KB) Motivation You may be interested in the other articles in the series. Update: This article is part of a larger series on building an AVR-based compass. Also included: driving the Adafruit Mini 8×8 LED Matrix with I2C Backpack. ![]() Read on to see an example of how to do I☬ communication on the Trinket (or anything with an Atmel ATTiny85) while shaving every possible byte. One of the coolest things about it is that you can do I☬ (and communicate to lots of inexpensive sensors and displays using only two pins) and still have plenty of room left over for your code in the ~5.5KB of flash on board. The Trinket microcontroller from Adafruit Industries is a tiny and inexpensive (US$8 for a single unit) way to control your electronics projects. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |