mirror of https://github.com/noisymime/Arduino.git
removed Snippets folder, now redundant
This commit is contained in:
parent
7da6084c91
commit
95336c0f79
|
@ -1,12 +0,0 @@
|
||||||
|
|
||||||
void setup() {
|
|
||||||
Serial.begin(9600);
|
|
||||||
}
|
|
||||||
|
|
||||||
void loop() {
|
|
||||||
int sensorValue = analogRead(0);
|
|
||||||
Serial.println(sensorValue, DEC);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
void setup() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void loop() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
void setup() {
|
|
||||||
Serial.begin(9600);
|
|
||||||
pinMode(2, INPUT);
|
|
||||||
}
|
|
||||||
|
|
||||||
void loop() {
|
|
||||||
int sensorValue = digitalRead(2);
|
|
||||||
Serial.println(sensorValue, DEC);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
void setup() {
|
|
||||||
pinMode(13, OUTPUT);
|
|
||||||
}
|
|
||||||
|
|
||||||
void loop() {
|
|
||||||
int switchValue = digitalRead(2);
|
|
||||||
digitalWrite(13, switchValue);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
void setup() {
|
|
||||||
Serial.begin(9600);
|
|
||||||
}
|
|
||||||
|
|
||||||
void loop() {
|
|
||||||
Serial.println("Hello World!");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue