Changing the Arduino IDE Indentions

Despite what the students in my Introductory Programming class seem to think, good coding style is actually really important.  Not only does it make it easier for others to work on and debug your code, but it also makes it easier for you to work on it.  For me, the most important thing is indention.  Proper indention lets you line up brackets and easily see what loop or if statement you’re working in.  This gets even more important when the brackets span more than a single page. Continue reading “Changing the Arduino IDE Indentions”

Programming the ATtiny with an Arduino

As I mentioned in a previous post, I’m starting to look at projects that for various reasons don’t require a full arduino.  There are some projects that even the Arduino Pro Mini is too large for.  For this, I’m looking at using an ATtiny85 since I only need a few pins.  But first, we have to figure out how to program it.  There are several ways to program a stand alone IC and future posts will show these, but this post will focus on how to program using an Arduino.  There are already numerous tutorials of this online, but many of them are either incomplete or wrong.  Others just don’t answer some of the questions I had when I started and this is what I hope to fix with my version. Continue reading “Programming the ATtiny with an Arduino”