ChangeUNO
This commit is contained in:
parent
ce7cdc5a2e
commit
422e43d580
@ -1,10 +1,13 @@
|
|||||||
|
int value = 0;
|
||||||
void setup() {
|
void setup() {
|
||||||
// put your setup code here, to run once:
|
// put your setup code here, to run once:
|
||||||
|
pinMode(10, INPUT);
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
// put your main code here, to run repeatedly:
|
// put your main code here, to run repeatedly:
|
||||||
Serial.println("ХЭЛЛОУ");
|
value = digitalRead(10);
|
||||||
delay(1000);
|
Serial.println(value);
|
||||||
|
delay(100);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user