Hello, I am almost a complete Noob when it comes to programing AVR's.
I found a LED project on this website:
http://todbot.com/blog/2007/03/25/smart-led-prototypes/
I wanted to build this, I have a USBtinyISP programmer that I purchased and assembled.
With AVRDude I can get it to initialize the ATTiny13 chip.
On the website there are two files to download, a Makefile and one named: "softpwm_t13.c"
If it is not to much trouble, I would like to find out how to use these files.
Any help would be appreaciated. Thank you.
Makefile
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 179
- Joined: Sat Nov 28, 2009 5:54 pm
Re: Makefile
well assuming you have the right os, right tools installed all you do is save those two files to your hard drive and type
make
you'll need make installed, as well as avrdude etc.
a makefile is just a set of commands basically.
make
you'll need make installed, as well as avrdude etc.
a makefile is just a set of commands basically.
-
- Posts: 5
- Joined: Sat May 03, 2008 3:03 pm
Re: Makefile
Thanks for the quick reply.
Where would I put the files?
When you say I need Make installed, I don't understand.
BTW I am running Window XP, I have AVRdude running and it works.
Where would I put the files?
When you say I need Make installed, I don't understand.
BTW I am running Window XP, I have AVRdude running and it works.
-
- Posts: 179
- Joined: Sat Nov 28, 2009 5:54 pm
Re: Makefile
You should be able to just save the two files in a local directory, load one into WinAVR and build it, but you'll need winavr installed.
i AvrStudio which helps a bit
here are some notes on using WinAVR that should apply
http://www.salvitti.it/geo/sequencer/de ... orial.html
i AvrStudio which helps a bit
here are some notes on using WinAVR that should apply
http://www.salvitti.it/geo/sequencer/de ... orial.html
-
- Posts: 5
- Joined: Sat May 03, 2008 3:03 pm
Re: Makefile
That I can do. I think.
Like I said I'm a noob.
I do have WinAVR installed.
Thanks Again
Like I said I'm a noob.
I do have WinAVR installed.
Thanks Again
-
- Posts: 179
- Joined: Sat Nov 28, 2009 5:54 pm
Re: Makefile
we all started somewhere, good luck and ping if you need more help.
Please be positive and constructive with your questions and comments.