Skip to content

Commit 83453de

Browse files
committed
Minor fixes
1 parent 5921985 commit 83453de

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

content/learn/01.starting-guide/00.getting-started-arduino/getting-started-arduino.md

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Circuits are typically represented as **schematics**, which are the blueprints f
116116

117117
All communication between electronic components are facilitated by **electronic signals.** There are two main types of electronic signals: **analog & digital**.
118118

119-
### Analog Signal
119+
#### Analog Signal
120120

121121
![Basics of an analog signal.](assets/analog-signal.png)
122122

@@ -128,7 +128,7 @@ If we write an analog signal using Pulse-Width Modulation (PWM), we can use a ra
128128

129129
***Read more about [Analog Inputs](/learn/microcontrollers/analog-input) and [Analog Outputs (PWM)](/learn/microcontrollers/analog-output).***
130130

131-
### Digital Signal
131+
#### Digital Signal
132132

133133
![Basics of a digital signal.](assets/digital-signal.png)
134134

@@ -168,7 +168,7 @@ There are many types of sensors, and several ways of recording data from them. P
168168

169169
Digital sensors are a bit more advanced, depending on the type. They rely on [Serial Communication Protocols](#serial-communication-protocols) to send the data accordingly, and requires a bit more effort to translate the data. As mentioned in the [Electronic Signals](#electronic-signals) section above, data is sent using a binary sequence (e.g. `101101` is `45`), and this needs to be addressed and configured on a software level. Luckily, a lot of sensors are accompanied by **software libraries**, which makes it a lot easier to read.
170170

171-
In many cases, all we need is just one line of code:
171+
In many cases using a library, all we need is just one line of code:
172172

173173
```arduino
174174
sensorValue = sensor.read();
@@ -366,7 +366,7 @@ These features are documented in the **documentation landing page** of each prod
366366

367367
***The Arduino IDEs are available for download for free in the [Software downloads page](https://www.arduino.cc/en/software).***
368368

369-
Now that we have a bit of background on Arduino hardware, let us move on to another fundamental: the Arduino Software tools.
369+
Another integral part of the Arduino ecosystem are its software tools.
370370

371371
The Arduino IDE, as it is commonly referred to, is an **integrated development environment.** But what does that mean exactly?
372372

@@ -410,6 +410,14 @@ In 2021, the Arduino IDE 2.0 was released. The new IDE has the same functionalit
410410

411411
***Learn more by visiting the [Arduino IDE 2 documentation](/software/ide-v2).***
412412

413+
### Web Editor
414+
415+
![The Web Editor.](assets/web-editor.png)
416+
417+
The [Arduino Web Editor](https://create.arduino.cc/editor) is an online IDE, part of the Arduino Cloud suite. Similar in function, this editor is completely web based, with online storage among other features. To use the Web Editor, you will need to register an Arduino account.
418+
419+
***Learn more by visiting the [Web Editor documentation](/cloud/web-editor).***
420+
413421
### Arduino IoT Cloud
414422

415423
![The Arduino IoT Cloud.](assets/iot-cloud.png)
@@ -420,13 +428,6 @@ The cloud is made for **anyone** to use, and it does not require much previous e
420428

421429
***Get started by reading the [Getting Started with the Arduino IoT Cloud](/cloud/iot-cloud/tutorials/iot-cloud-getting-started) guide, or visit the [full documentation](/cloud/iot-cloud).***
422430

423-
### Web Editor
424-
425-
![The Web Editor.](assets/web-editor.png)
426-
427-
The [Arduino Web Editor](https://create.arduino.cc/editor) is an online IDE, part of the Arduino Cloud suite. Similar in function, this editor is completely web based, with online storage among other features. To use the Web Editor, you will need to register an Arduino account.
428-
429-
***Learn more by visiting the [Web Editor documentation](/cloud/web-editor).***
430431

431432
### Library Manager
432433

@@ -483,10 +484,10 @@ The classic blink sequence is found in the snippet below:
483484
```arduino
484485
void loop() {
485486
486-
digitalWrite(LED, HIGH); //turn on an LED
487-
delay(1000); //as program is paused, with the LED on
488-
digitalWrite(LED, LOW); //program is unpaused, and the LED is turned off
489-
delay(1000); //program is paused, with the LED off
487+
digitalWrite(LED, HIGH); //turn on an LED
488+
delay(1000); //as program is paused, with the LED on
489+
digitalWrite(LED, LOW); //program is unpaused, and the LED is turned off
490+
delay(1000); //program is paused, with the LED off
490491
491492
}
492493
```
@@ -520,15 +521,15 @@ void loop() {
520521
//check time since program started, and store in "currentMillis"
521522
unsigned long currentMillis = millis();
522523
523-
//conditional that checks whether 1 second has passed since last event
524-
if (currentMillis - previousMillis_1 >= interval_1) {
525-
//execute a piece of code, every *1 second*
526-
}
524+
//conditional that checks whether 1 second has passed since last event
525+
if (currentMillis - previousMillis_1 >= interval_1) {
526+
//execute a piece of code, every *1 second*
527+
}
527528
528-
//conditional that checks whether 2 seconds have passed since last event
529-
if (currentMillis - previousMillis_2 >= interval_2) {
529+
//conditional that checks whether 2 seconds have passed since last event
530+
if (currentMillis - previousMillis_2 >= interval_2) {
530531
//execute a piece of code, every *2 seconds*
531-
}
532+
}
532533
533534
}
534535
```
@@ -537,7 +538,7 @@ While the `millis()` function is a more advanced concept than the `delay()` func
537538

538539
#### Functions
539540

540-
***Learn more about [functions](/learn/programming/functions).***
541+
***Learn more about [Arduino functions](/learn/programming/functions).***
541542

542543
You can create custom functions that either just executes code and returns to the program, or that returns a result.
543544

0 commit comments

Comments
 (0)