Skip to content

Commit 2e0663b

Browse files
committed
Comments added to the code.
This commit contains an update for blinkAndSerialCommunication project. In this update, comments added to the code.
1 parent 01db333 commit 2e0663b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

blinkAndSerialCommunication/blinkAndSerialCommunication.ino

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
1919
modified 8 Sep 2016
2020
by Colby Newman
21+
22+
modified 22 Jul 2017
23+
by Enes Batur
2124
*/
2225

2326

@@ -33,9 +36,8 @@ void setup() {
3336
void loop() {
3437
Serial.println("on");
3538
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
36-
delay(2000);
37-
Serial.println("off");
38-
// wait for a second
39+
delay(2000);// wait for two seconds
40+
Serial.println("off");
3941
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
40-
delay(2000); // wait for a second
42+
delay(2000); // wait for two seconds
4143
}

0 commit comments

Comments
 (0)