Forum: µC & Digital Electronics programming micro controler; ATtiny2313A

Author: Alex (Guest)
Posted on:

Rate this post
0 useful
not useful
Hey guys,

i am studying abroad at the moment and chose a bit hard course. We 
didn't got really teached and now i am required to "write a program for 
an ATtiny2313 microcontroller that plays a tune on a speaker connected 
to the microcontroller"

So basically I think I have to write a program, that the µC produces the 
different frequencies for the particular notes (eg. 261.6 Hz for a C)

Can you tell me, how I should start the best way on this programming? I 
havent really programmed yet, just read through some codes before. Are 
there good tutorials I can work through?

Thank you really much for a quick response :-) I have 5-6 whole days to 
work on this, hopefully it will be enough:-)



Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.