Halp.....
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 40
- Joined: Wed Dec 30, 2009 9:22 pm
Halp.....
Hello, I'm new to programing and using BANNED prompt and such.I bought the mini pov3 kit from adafruit to learn more about progrming and i'm going to make an led cube out of it. I have already written a schaweet code for it, now all I have to do is put it on the chip. I have not the slightest idea of how to do this I have done a little googleing with no sucess.I was also wondering what a makefile is or how to get one?I have downloaded avrdude. I would appreciate any help,thanks.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: Halp.....
download the minipov firmware. there is a makefile included. if your source file is called foo.c, you can add a line
amongst the similar looking lines in the makefile and you will then be able to compile, link and load your program by entering
at the command line. you will want your source file to be in the same directory as the makefile and you will need to be in that directory when you enter the make command.
Code: Select all
program-foo: foo.hex
Code: Select all
make program-foo
-
- Posts: 40
- Joined: Wed Dec 30, 2009 9:22 pm
Re: Halp.....
That's the first place I looked, but thanks.adafruit wrote:http://www.ladyada.net/make/minipov3/software.html
-
- Posts: 40
- Joined: Wed Dec 30, 2009 9:22 pm
Re: Halp.....
it wouldnt let me post the screenshots but they are heremtbf0 wrote:download the minipov firmware. there is a makefile included. if your source file is called foo.c, you can add a lineamongst the similar looking lines in the makefile and you will then be able to compile, link and load your program by enteringCode: Select all
program-foo: foo.hex
at the command line. you will want your source file to be in the same directory as the makefile and you will need to be in that directory when you enter the make command.Code: Select all
make program-foo
http://i910.photobucket.com/albums/ac30 ... mdfail.jpg
http://i910.photobucket.com/albums/ac30 ... povbin.jpg
Thank you for helping me (i'm a true rookie at this)
Do I have to tell it to look in the port?How would I do that?(I read how to find the port on this site, I did find it but I didn't know what to do with it.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Halp.....
you have to be editing the makefile
you should have edited the makefile ANYWAYS just to get it to work
did you go through the minipov3 instructions & customization tutorial?
you should have edited the makefile ANYWAYS just to get it to work
did you go through the minipov3 instructions & customization tutorial?
-
- Posts: 40
- Joined: Wed Dec 30, 2009 9:22 pm
Re: Halp.....
I re-did it again and it turns out that I didn't install the right stuff but I still am a bit confused.adafruit wrote:you have to be editing the makefile
you should have edited the makefile ANYWAYS just to get it to work
did you go through the minipov3 instructions & customization tutorial?
http://i910.photobucket.com/albums/ac30 ... rmware.jpg (I think those are all of the files)
http://i910.photobucket.com/albums/ac30 ... s/code.jpg
I made a code already so I essentially highlight the old code and copy/paste in the new one? then entering "del mypov.hex" then "make mypov.hex" then "make program-mypov"?
Again thank you so much for your help
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Halp.....
use wordpad not notepad
please just go through and follow the instructions on the site
please just go through and follow the instructions on the site
-
- Posts: 40
- Joined: Wed Dec 30, 2009 9:22 pm
Re: Halp.....
LOL I didn't even know I had word pad (nooooooooooooooooob)adafruit wrote:use wordpad not notepad
please just go through and follow the instructions on the site
-
- Posts: 40
- Joined: Wed Dec 30, 2009 9:22 pm
Re: Halp.....
Ok I think this could be it I made this code with a genarator. http://i910.photobucket.com/albums/ac30 ... mcode2.jpg
If you can't read it here is an example of one of the lines (copy paste) { 0b111, 0b111, 0b111, 0b000, 0b000, 0b000, 0b000, 0b000, 0b000, 26426 },
are they OK?or do I have to manually go in and insert "b8" in every line?
If you can't read it here is an example of one of the lines (copy paste) { 0b111, 0b111, 0b111, 0b000, 0b000, 0b000, 0b000, 0b000, 0b000, 26426 },
are they OK?or do I have to manually go in and insert "b8" in every line?
-
- Posts: 40
- Joined: Wed Dec 30, 2009 9:22 pm
Re: Halp.....
YAY more problems! http://i910.photobucket.com/albums/ac30 ... oblems.jpg
None of the lights lit up after I did this
None of the lights lit up after I did this
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: Halp.....
what's line 34 of your program look like?
-
- Posts: 40
- Joined: Wed Dec 30, 2009 9:22 pm
Re: Halp.....
like of my code?or what?mtbf0 wrote:what's line 34 of your program look like?
-
- Posts: 40
- Joined: Wed Dec 30, 2009 9:22 pm
Re: Halp.....
I counted down 34 lines and I think this is it.... http://i910.photobucket.com/albums/ac30 ... line32.jpgmtbf0 wrote:what's line 34 of your program look like?
Again thank you so much for all the help
-
- Posts: 179
- Joined: Sat Nov 28, 2009 5:54 pm
Re: Halp.....
as a quick tip: once you've loaded and saved it once with worpad, you can use notepad which has a ctrl+g goto line function, unlike wordpad.
Please be positive and constructive with your questions and comments.