02-29-12
I duplicated the code used to read one pin and changed a few things around so the ADMUX register is properly reset between each reading.
Right now I have my chip hooked up to two photocells, each of which controls the amount one of two LEDs will be turned on. By holding your hand over one photocell, a lopsided rhythm will be output on the two output LEDs: "...LONG short LONG short LONG short..."
I'm thinking that it would be useful to have a way of asyncronous blinking times.
My code is still really messy and I haven't put anything out into functions. I'm thinking a good next step would be to add delay and my new analog_read code into a library that my files can include.
I've attached the code for the current iteration and its not-terribly-unique makefile.