Arduino Hacking
I recently decided to buy an Arduino, which is an Atmel microcontroller wrapped in a little PCB that makes it easy to program and wire it. My intentions were, for one I thought that a lot of the projects I come across on Hack A Day and other sites were awesome, and two, it would help me better understand low level hardware programming like registers and binary arithmetic. The only problem, the IDE it comes with sucks (in my opinion), and the "language" used to program isn't very useful. The IDE is basically a WSIWIG Text Editor, which normally isn't bad, but I like autocompletion and other fancy little things. The Language is a hybrid of C and C++, and since I know a fair amount of C, but don't care too much about C++ yet, I wanted to get into the lower level of things ans start flipping bits at the registers, not writing digital signals to specific pins that are relabeled. So, since the IDE is also a wrapper around a GNU GCC cross compiler, I decided to install that GCC version on my system and start from the beginning.
The Arduino project has some cool , simple tutorials. I'm going to document how to write pure C code to implement much of those projects, without using any of the Arduino supplied libraries.
Hello, World
This just helps you set up your environment to start programming the AVR microcontroller. Hello, World!
Tutorials
- Basics
- Digital
- Analog