You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
132 B
Plaintext
13 lines
132 B
Plaintext
15 years ago
|
|
||
|
void setup() {
|
||
|
pinMode(13, OUTPUT);
|
||
|
}
|
||
|
|
||
|
void loop() {
|
||
|
int switchValue = digitalRead(2);
|
||
|
digitalWrite(13, switchValue);
|
||
|
}
|
||
|
|
||
|
|
||
|
|