Is any one else using a MiniPOV3 for the fun make project?
If so I would like help with the code and like to see what kind of sequences are out there...
MiniPOV3 used for MAKE 3x3x3 LED Cube
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 18
- Joined: Mon Dec 03, 2007 9:06 am
- ./^\.ace./^\.
- Posts: 4
- Joined: Sat Apr 19, 2008 7:26 pm
I have made a few different sequences but I have a problem when I rename the .c file...
I used the Ledcubetest.c file and replaces the sequence and then renamed it Ledcubetest2.c and it will make the hex just fine but it won't write to the chip...
I am also looking for a way to loop the code...
ANy ideas?
I used the Ledcubetest.c file and replaces the sequence and then renamed it Ledcubetest2.c and it will make the hex just fine but it won't write to the chip...
I am also looking for a way to loop the code...
ANy ideas?
-
- Posts: 18
- Joined: Mon Dec 03, 2007 9:06 am
- ./^\.ace./^\.
- Posts: 4
- Joined: Sat Apr 19, 2008 7:26 pm
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
- ./^\.ace./^\.
- Posts: 4
- Joined: Sat Apr 19, 2008 7:26 pm
-
- Posts: 5
- Joined: Wed Oct 07, 2009 3:36 pm
Re: MiniPOV3 used for MAKE 3x3x3 LED Cube
Hi,
i made such a led-cube (with the instructions from the makezine-articel) too and i need help.
I have the Problem that i cant program the attiny2313 cause avrdude can not find the inputfile.
The following code shows what i made at the commandpanel:
C:\ledcube>make program-ledcube.c
avrdude -p attiny2313 -P com1 -c dasa -U flash:w:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.12s
avrdude: Device signature = 0x1e910a
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file ""
avrdude: error opening : No such file or directory
avrdude: input file auto detected as invalid format
avrdude: can't open input file : No such file or directory
avrdude: write to file '' failed
avrdude: safemode: Fuses OK
avrdude done. Thank you.
What does it mean?
Greetings David from germany (sorry for my bad english)
i made such a led-cube (with the instructions from the makezine-articel) too and i need help.
I have the Problem that i cant program the attiny2313 cause avrdude can not find the inputfile.
The following code shows what i made at the commandpanel:
C:\ledcube>make program-ledcube.c
avrdude -p attiny2313 -P com1 -c dasa -U flash:w:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.12s
avrdude: Device signature = 0x1e910a
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file ""
avrdude: error opening : No such file or directory
avrdude: input file auto detected as invalid format
avrdude: can't open input file : No such file or directory
avrdude: write to file '' failed
avrdude: safemode: Fuses OK
avrdude done. Thank you.
What does it mean?
Greetings David from germany (sorry for my bad english)
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: MiniPOV3 used for MAKE 3x3x3 LED Cube
are you SURE that make program-ledcube.c is the right command?
-
- Posts: 5
- Joined: Wed Oct 07, 2009 3:36 pm
Re: MiniPOV3 used for MAKE 3x3x3 LED Cube
Hi,
that is what written in the instructions from the makezine-pdf:
Download and unzip this file: http://cachefly.oreilly.com/make/LEDcube.zip
In this folder are 3 files. Makefile is the program that lets you program the
chip and ledcube.c and ledcubetest.c are both firmware to load onto the chip
with different animations. Ledcube.c is the animation that you can see in the
video and ledcubetest.c is a program that turns each LED on one at a time in
turn.
In windows, in the software’s command window you’ll type: make
ledcube.hex
Then you type in: make program-ledcube.c
[...]
i have typed make ledcube.hex before
I have put this 3 (unzipped) files in c:/windows/ledcube
I think i soldered my minipov well- it shouldnt be the problem.
----
i soldered a status-led at the free little holes for a sensor at the top of the minipov- could it be the problem?
that is what written in the instructions from the makezine-pdf:
Download and unzip this file: http://cachefly.oreilly.com/make/LEDcube.zip
In this folder are 3 files. Makefile is the program that lets you program the
chip and ledcube.c and ledcubetest.c are both firmware to load onto the chip
with different animations. Ledcube.c is the animation that you can see in the
video and ledcubetest.c is a program that turns each LED on one at a time in
turn.
In windows, in the software’s command window you’ll type: make
ledcube.hex
Then you type in: make program-ledcube.c
[...]
i have typed make ledcube.hex before
I have put this 3 (unzipped) files in c:/windows/ledcube
I think i soldered my minipov well- it shouldnt be the problem.
----
i soldered a status-led at the free little holes for a sensor at the top of the minipov- could it be the problem?
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: MiniPOV3 used for MAKE 3x3x3 LED Cube
something is wrong with the files, not the kit, you didnt unzip them or you're not in the right location.
-
- Posts: 5
- Joined: Wed Oct 07, 2009 3:36 pm
Re: MiniPOV3 used for MAKE 3x3x3 LED Cube
mmmh, dont know- i downloadet it again and unzipped it with sevenzip in the folder:
c:/ledcube/
but its the same result like before.
Other Infos:
I use
Win XP
WinAVR-20090313
here is every step i did:
unzipping ledcube.zip
in the folder c:/ledcube are before compiling the following files:
-DS_STORE-Datei
-ledcube.c
-ledcubetest.c
-makefile
BANNED:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Dokumente und Einstellungen\anderswo>cd c:\
C:\>cd ledcube
C:\ledcube>make ledcube.hex
Compiling: ledcube.c
avr-gcc -c -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototype
s -DF_CPU=8000000 -Wa,-adhlns=ledcube.lst -mmcu=attiny2313 -std=gnu99 ledcube.c -o ledcube.o
Linking: ledcube.elf
avr-gcc -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototype
s -DF_CPU=8000000 -Wa,-adhlns=ledcube.o -mmcu=attiny2313 -std=gnu99 ledcube.o --output ledcube.elf -Wl,-Map=.map,--cref
Creating load file for Flash: ledcube.hex
avr-objcopy -O ihex -R .eeprom ledcube.elf ledcube.hex
rm ledcube.o ledcube.elf
C:\ledcube>make program-ledcube.c
avrdude -p attiny2313 -P com1 -c dasa -U flash:w:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e910a
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file ""
avrdude: error opening : No such file or directory
avrdude: input file auto detected as invalid format
avrdude: can't open input file : No such file or directory
avrdude: write to file '' failed
avrdude: safemode: Fuses OK
avrdude done. Thank you.
make: *** [program-ledcube.c] Error 1
C:\ledcube>
in the folder c:/ledcube are after compiling the following files:
-DS_STORE-Datei
-ledcube.c
-ledcubetest.c
-makefile
-.map
-ledcube.hex
-ledcube.lst
c:/ledcube/
but its the same result like before.
Other Infos:
I use
Win XP
WinAVR-20090313
here is every step i did:
unzipping ledcube.zip
in the folder c:/ledcube are before compiling the following files:
-DS_STORE-Datei
-ledcube.c
-ledcubetest.c
-makefile
BANNED:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Dokumente und Einstellungen\anderswo>cd c:\
C:\>cd ledcube
C:\ledcube>make ledcube.hex
Compiling: ledcube.c
avr-gcc -c -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototype
s -DF_CPU=8000000 -Wa,-adhlns=ledcube.lst -mmcu=attiny2313 -std=gnu99 ledcube.c -o ledcube.o
Linking: ledcube.elf
avr-gcc -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototype
s -DF_CPU=8000000 -Wa,-adhlns=ledcube.o -mmcu=attiny2313 -std=gnu99 ledcube.o --output ledcube.elf -Wl,-Map=.map,--cref
Creating load file for Flash: ledcube.hex
avr-objcopy -O ihex -R .eeprom ledcube.elf ledcube.hex
rm ledcube.o ledcube.elf
C:\ledcube>make program-ledcube.c
avrdude -p attiny2313 -P com1 -c dasa -U flash:w:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e910a
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file ""
avrdude: error opening : No such file or directory
avrdude: input file auto detected as invalid format
avrdude: can't open input file : No such file or directory
avrdude: write to file '' failed
avrdude: safemode: Fuses OK
avrdude done. Thank you.
make: *** [program-ledcube.c] Error 1
C:\ledcube>
in the folder c:/ledcube are after compiling the following files:
-DS_STORE-Datei
-ledcube.c
-ledcubetest.c
-makefile
-.map
-ledcube.hex
-ledcube.lst
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: MiniPOV3 used for MAKE 3x3x3 LED Cube
avrdude -p attiny2313 -P com1 -c dasa -U flash:w:ledcube.hex
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: MiniPOV3 used for MAKE 3x3x3 LED Cube
make program-ledcube
not
make program-ledcube.c
not
make program-ledcube.c
-
- Posts: 5
- Joined: Wed Oct 07, 2009 3:36 pm
Re: MiniPOV3 used for MAKE 3x3x3 LED Cube
thaaaank ladyada and mtbf0, yes that was the problem- not make program-ledcube.c but make program-ledcube
wow great
big thanks for ur help again.
wow great
big thanks for ur help again.
Please be positive and constructive with your questions and comments.