Remove these ads by
Signing UpStep 1: Supplies
- 8 LEDs (though you can use more or less, probably not less than 6 for a clear image)
- Lilypad Arduino
- Lilypad Power Supply
- Conductive thread
- Velcro/fastener
- Elastic Band
Remove these ads by
Signing Up
PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format.
You also have the ability to customize your PDF download.
They don't seem to be used anywhere.
Or is it a way to tell the Lilypad that those outputs are used to power LEDs?
int ledPinArray[8] = {6,7,8,9,10,11,12,13};
for(int i = 0; i < 8; i++){
pinMode(ledPinArray[i],OUTPUT);
}
But when I run the rest of the program, I have only two leds blinking... I am working on understanding the loop, and I think the problem is that the ledPinArray variable isn't used in the digitalWrite command in the printWord function... and since my pins are not all numerals, this is failing for me. Can you help me get my head around how the PrintWord function should look using the ledPinArray variable? Thanks!
This is a pretty rough estimate. The current draw will actually change over time and you can't extract all the juice in a coin cell battery. For a great discussion check out: http://www.evilmadscientist.com/article.php/throw/
B8(00100000),
B8(00111111),
B8(00000000),
B8(00111111),
B8(00100101),
B8(00100101),
B8(00000000),
B8(00111111),
B8(00100101),
B8(00011110),
B8(00000001),
B8(00000001),
B8(00111111),
B8(00000001),
B8(00000001),
B8(00000000),
B8(00000000),
B8(00000000),
B8(00000000),
B8(00000000)