I was able to get it to work but it doesn't work on multiple LED's that are in series.
took my first C++ class this past winter quarter and could see many similarities of coding in arduino
QuoteI was able to get it to work but it doesn't work on multiple LED's that are in series.Describe "doesn't work".Did you remember the voltage drop across series-connected LEDs adds up?Quotetook my first C++ class this past winter quarter and could see many similarities of coding in arduinoNot surprising, because "arduino" is C++
I also tried it without the resistor and it still is REALLY faint (barely noticeable). Why would this be?
QuoteI also tried it without the resistor and it still is REALLY faint (barely noticeable). Why would this be?Because you've burnt the pin out?Never, never, never, connect a LED to an output pin without a resistorDid I mention never?
so output #9 would be burnt out and would not be usable anymore?
Use transistor to drive the Multiple LED from a steady source of power (see the Attached Schematic).transistor can be BC558, 2n2222, BC 547, just care for the Base current needed to activate the Transistor, however the transistors listed above can easily be activated with the mA and voltage supplied from ATmega pins itself.
STOP! You are killing your Arduino , all the rails on the BreadBoard are electrically connected when you put your LED;s both leads and +ve and -ve leads both on the same rail AS YOU ARE DOING you are shorting the circuit by running the +ve and -ve current on the same rail.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16