filmov
tv
Arduino Blink Program 1.0 #experiment

Показать описание
Arduino Code:
// the setup function runs once when
you press reset or power the board
void setup() {
// inditialize digital pin LED_BUILTIN as an output.
pinMoe(7, OUTPUT);
}
// the loop function runs over and over
again forever
void loop() {
digitalWrite(7, HIGH); // turn the LED on
(HIGH is the voltage level)
delay(500); // wait for 0.5 second
digitalWrite(7, LOW); // turn the LED off by
making the voltage LOW
delay(500); // wait for a 0.5 second
}
// the setup function runs once when
you press reset or power the board
void setup() {
// inditialize digital pin LED_BUILTIN as an output.
pinMoe(7, OUTPUT);
}
// the loop function runs over and over
again forever
void loop() {
digitalWrite(7, HIGH); // turn the LED on
(HIGH is the voltage level)
delay(500); // wait for 0.5 second
digitalWrite(7, LOW); // turn the LED off by
making the voltage LOW
delay(500); // wait for a 0.5 second
}