Rotary Encoder on the ATtiny85 – Part 2

One of the most popular posts on my blog is this post about using rotary encoders on the attiny85.  Unfortunately that post is mostly things I tried that didn’t work.  A few months after writing that post I realized why it didn’t work and posted about that.  And finally, I’ve figured out the solution, which you can see below. Continue reading “Rotary Encoder on the ATtiny85 – Part 2”

Advertisement

Pin Change Interrupts on ATtiny85

Pin Change interrupts on the Arduino have eluded me for awhile so when I finally figured them out last week, I also started messing with Pin Change Interrupts on the ATtiny.  Unlike with the ATmega chips, examples are much harder to find for the ATtiny interrupts and even when you find them, I don’t think the quality is quite as good.  So here is a simple guide to working with Pin Change Interrupts on the ATtiny85. Continue reading “Pin Change Interrupts on ATtiny85”

Arduino Pin Change Interrupts

I recently needed to do some work with Pin Change Interrupts and it was a bit of a learning experience for me.  As it turns out, they’re actually pretty easy.  I’m posting this so that when I need to look it up in the future, I can easily find it and maybe I can help somebody else out too. Continue reading “Arduino Pin Change Interrupts”

AVR (& Arduino) Default ISR – Resetting Pin Change Interrupt Problem

I just got done wasting 10 very frustrating hours on a Interrupt Service Routine problem.  In this case it was a pin change interrupt that causes the chip/board to reset.  It turned out to be a simple capitalization error but luckily I also discovered some info about the AVR default ISR.  I wanted to post it here in case somebody accidentally found it useful.   Continue reading “AVR (& Arduino) Default ISR – Resetting Pin Change Interrupt Problem”