Skip to content

Commit 0d3258d

Browse files
authored
Code fix (#1577)
1 parent e280f38 commit 0d3258d

File tree

1 file changed

+6
-6
lines changed
  • content/hardware/07.opta/opta-family/opta/tutorials/user-manual

1 file changed

+6
-6
lines changed

content/hardware/07.opta/opta-family/opta/tutorials/user-manual/content.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,15 @@ There are two ways to program this example in the device:
152152

153153
```arduino
154154
void setup() {
155-
// Initialize LED_BUILTIN as an output
155+
// Initialize LED_BUILTIN as an output
156156
pinMode(LED_BUILTIN, OUTPUT);
157157
}
158158
159159
void loop() {
160-
// Turn the user LED (RESET) off
160+
// Turn the LED_BUILTIN ON
161161
digitalWrite(LED_BUILTIN, HIGH);
162162
delay(1000);
163-
// Turn the user LED (RESET) on
163+
// Turn the user LED_BUILTIN OFF
164164
digitalWrite(LED_BUILTIN, LOW);
165165
delay(1000);
166166
}
@@ -437,15 +437,15 @@ The blink code that uses the green `LED_BUILTIN` LED is shown below:
437437

438438
```arduino
439439
void setup() {
440-
// Initialize LED_USER as an output
440+
// Initialize LED_BUILTIN as an output
441441
pinMode(LED_BUILTIN, OUTPUT);
442442
}
443443
444444
void loop() {
445-
// Turn the USER LED off
445+
// Turn the LED_BUILTIN ON
446446
digitalWrite(LED_BUILTIN, HIGH);
447447
delay(1000);
448-
// Turn the USER LED on
448+
// Turn the user LED_BUILTIN OFF
449449
digitalWrite(LED_BUILTIN, LOW);
450450
delay(1000);
451451
}

0 commit comments

Comments
 (0)