Removed stubs, as it's now duplicated by snippets

This commit is contained in:
Tom Igoe 2010-05-26 11:25:04 +00:00
parent 8f416eb54a
commit 38f50a62b5
5 changed files with 0 additions and 56 deletions

View File

@ -1,12 +0,0 @@
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue = analogRead(0);
Serial.println(sensorValue, DEC);
}

View File

@ -1,12 +0,0 @@
void setup() {
pinMode(6, OUTPUT);
}
void loop() {
int sensorValue = analogRead(2);
int ledFadeValue = map(sensorValue, 0, 1023, 0, 255);
analogWrite(6, ledFadeValue);
}

View File

@ -1,9 +0,0 @@
void setup() {
}
void loop() {
}

View File

@ -1,12 +0,0 @@
void setup() {
Serial.begin(9600);
pinMode(2, INPUT);
}
void loop() {
int sensorValue = digitalRead(2);
Serial.println(sensorValue, DEC);
}

View File

@ -1,11 +0,0 @@
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
int switchValue = digitalRead(2);
digitalWrite(13, switchValue);
}