File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
content/hardware/07.opta/opta-family/opta/tutorials/user-manual Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -152,15 +152,15 @@ There are two ways to program this example in the device:
152
152
153
153
``` arduino
154
154
void setup() {
155
- // Initialize LED_BUILTIN as an output
155
+ // Initialize LED_BUILTIN as an output
156
156
pinMode(LED_BUILTIN, OUTPUT);
157
157
}
158
158
159
159
void loop() {
160
- // Turn the user LED (RESET) off
160
+ // Turn the LED_BUILTIN ON
161
161
digitalWrite(LED_BUILTIN, HIGH);
162
162
delay(1000);
163
- // Turn the user LED (RESET) on
163
+ // Turn the user LED_BUILTIN OFF
164
164
digitalWrite(LED_BUILTIN, LOW);
165
165
delay(1000);
166
166
}
@@ -437,15 +437,15 @@ The blink code that uses the green `LED_BUILTIN` LED is shown below:
437
437
438
438
``` arduino
439
439
void setup() {
440
- // Initialize LED_USER as an output
440
+ // Initialize LED_BUILTIN as an output
441
441
pinMode(LED_BUILTIN, OUTPUT);
442
442
}
443
443
444
444
void loop() {
445
- // Turn the USER LED off
445
+ // Turn the LED_BUILTIN ON
446
446
digitalWrite(LED_BUILTIN, HIGH);
447
447
delay(1000);
448
- // Turn the USER LED on
448
+ // Turn the user LED_BUILTIN OFF
449
449
digitalWrite(LED_BUILTIN, LOW);
450
450
delay(1000);
451
451
}
You can’t perform that action at this time.
0 commit comments