Go Down

Topic: please help programming attiny (Read 430 times) previous topic - next topic

Hacker594

So for a few days now i have been attempting to program an attiny85 to play a tune with a piezo buzzer. I found the code online and it worked with the uno but then when i uploaded it to the attiny85 no sound was produced. the code uploaded with no errors but nothing happened.I was working on an older version of the ide and had downloaded the cores for attiny from  http://code.google.com/p/arduino-tiny/downloads/detail?name=arduino-tiny-0150-0020.zip however the new board options did not show up in the tools menu and i dont know what i have done wrong. My ide is version 1.5.7 as the latest version 1.6.3 would not start up for some reason. I am pretty sure the problem is a software one as i followed the wiring diagram very carefully from the highlow tech tutorial. I am not very good at coding and really just wanted to use up some of my attinys but i am getting very frustrated and would appreciate any help.
I have attached "my" code for you all to look at

thanks

Coding Badly

I was working on an older version of the ide and had downloaded the cores for attiny from  http://code.google.com/p/arduino-tiny/downloads/detail?name=arduino-tiny-0150-0020.zip however the new board options did not show up in the tools menu...
Did you install the core in the correct location?  (Did you read the README file?)


Go Up