Remove these ads by
Signing UpStep 1: The Materials
The Software:
Processing - can be found at www.processing.org
Arduino - Can be found at www.arduino.cc
The Hardware:
Arduino USB board (I used the Diecimila, because that's what I had)
8x LEDs of your choice
8x 330ohm resistors
Break away headers
single sided copper clad
Ferric Chloride
tiny drill bit
USB cable






































Visit Our Store »
Go Pro Today »




'import' does not name a type
Do any of you know how to fix this or what I am doing wrong?
Thank you.
can you do that?
:S please
void loop()
{
int input = Serial.read(); // read serial
if (input) { // detect input from serial
digitalWrite(Pin[input], HIGH);
delay(1000);
digitalWrite(Pin[input], LOW);
}
Nice work!! Thanks to share.
can i controller in RC car using this method of controlling ?
p.s. LEDs is the plural of LED - so no apostrophe
Thanks
Jman
I did have to make my own Eagle file as I was never able to upload your, and your PDF was coming out with traces touching for me. I am going to try to upload my PDF in case anyone had the same problem as me. Mine is made with the copper side down though.
http://www.italentshare.com/storage/PICs/LEDShield.pdf
I always think that using 8 pins to control 8 leds is overkill...but so is using a shift register to use 3 pins instead of 8 :D
Great little learning chunk!