Skip to content

Commit 998d822

Browse files
Update content/hardware/05.pro-solutions/solutions-and-kits/opta/tutorials/getting-started/content.md
Co-authored-by: Julián Caro Linares <[email protected]>
1 parent 6cd1607 commit 998d822

File tree

1 file changed

+2
-3
lines changed
  • content/hardware/05.pro-solutions/solutions-and-kits/opta/tutorials/getting-started

1 file changed

+2
-3
lines changed

content/hardware/05.pro-solutions/solutions-and-kits/opta/tutorials/getting-started/content.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,15 @@ int buttonState = 0;
113113
int counter = 0;
114114
115115
void setup() {
116-
// initialize digital pin LED_BUILTIN as an output.
116+
// Initialize OPTA LEDs
117117
pinMode(LED_D0, OUTPUT);
118118
pinMode(LED_D1, OUTPUT);
119119
pinMode(LED_D2, OUTPUT);
120120
pinMode(LED_D3, OUTPUT);
121121
pinMode(BTN_USER, INPUT);
122122
}
123123
124-
// the loop function runs over and over again forever
124+
// The loop function runs over and over again while the device is on
125125
void loop() {
126126
buttonState = digitalRead(BTN_USER);
127127
if(buttonState == LOW){
@@ -159,7 +159,6 @@ void changeLights() {
159159
}
160160
delay(100);
161161
}
162-
```
163162
164163
![The button and LEDs that will light up on the Opta](assets/opta-device-button.png)
165164

0 commit comments

Comments
 (0)