Posts Tagged ‘avr’

playing a scale with the atmega16

Monday, May 4th, 2009 by webstersprodigy

A musical “note” is a waveform that has a certain fundamental frequency. A perfect sine wave consists only of the fundamental frequency, and sounds very “pure” or mellow, like a flute. For this project, you are to use interrupts to generate the notes of a musical scale, while at the same time using another interrupt to update a count. We will generate square waves by toggling a bit within a port on and off. Specifically, your program should play the notes from middle C to the next higher C, each of approximately one second in duration. These notes should be playing at the same time that an 8-bit binary count is being displayed in the LED’s, updating at approximately 1/4 second.

stk500 avr atmega16 linux gcc hello, world

Saturday, April 4th, 2009 by webstersprodigy

Does my title sound like buz-word central? You bet it does. That’s because it was a bit difficult to find any good introductory material on this. Maybe that’s because there’s so much information out there…


No computers were harmed in the 0.182 seconds it took to produce this page.