2010年7月7日水曜日

Transistor switch

Requirement

NPN Transistor( I used 2N3904 bought from Radio Shock )

LEDs

Arduino

Arduino program

wires

1k Ohm resistor

220 Ohm resistor

Computer


Circuit




Program

You can use sample program "Blink"

You just need to change 

int = 13;

to

int = 2;









0 件のコメント:

コメントを投稿