8000 Add final sections + images · mc-ireiser/arduino-docs-content@7bac2ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 7bac2ce

Browse files
committed
Add final sections + images
1 parent 5f0908f commit 7bac2ce

File tree

8 files changed

+48
-23
lines changed

8 files changed

+48
-23
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading

content/arduino-cloud/01.guides/01.editor/editor.md

Lines changed: 48 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,42 @@ description: 'Get started with the Cloud Editor, an online IDE in the Arduino Cl
44
author: 'Karl Söderby'
55
---
66

7-
The [Cloud Editor](https://app.arduino.cc/sketches/) is an online code editor that is part of the [Arduino Cloud](https://app.arduino.cc/). With the Cloud Editor, you can write sketches that are automatically stored in your Cloud sketchbook, and upload them to your Arduino board.
7+
The [Cloud Editor](https://app.arduino.cc/sketches/) is an online code editor which is part of the [Arduino Cloud](https://app.arduino.cc/). With the Cloud Editor, you can write sketches and upload them to your Arduino board, where all your progress is automatically stored in the Cloud!
88

99
The Cloud Editor features all the necessary tools to develop and test your Arduino projects, including:
1010
- A compiler that checks that your code works on the specified board,
1111
- an upload tool that uploads a sketch to your board,
12-
- the Serial Monitor, a tool that reads the serial commands send from your board,
12+
- the Serial Monitor, a tool that reads serial data sent from your board,
1313
- all board packages & libraries available without download!
1414

15-
***To use the Cloud Editor, you will need to [install the Cloud Agent](), a plugin that allows your browser to access USB devices (your board). You will also need an [Arduino account](). The steps are covered later on in this guide.***
15+
***To use the Cloud Editor, you will need to [install the Cloud Agent](https://create.arduino.cc/getting-started/plugin/welcome), a plugin that allows your browser to access USB devices (your board). You will also need an [Arduino account](https://app.arduino.cc/). The steps are covered later on in this guide.***
1616

1717
## Hardware & Software Needed
1818

1919
- [Cloud Agent](https://create.arduino.cc/getting-started/plugin/welcome)
2020
- Arduino board (all Arduino boards are supported).
2121
- USB cable (different depending on the board you are using).
2222

23+
***If you don't have an Arduino board, visit the [Arduino Store](https://store.arduino.cc/).***
24+
2325
## Setup
2426

25-
1. First, log in or create an [Arduino account]().
27+
1. First, log in or create an [Arduino account](https://app.arduino.cc/).
2628
2. Then install the [Cloud Agent](https://create.arduino.cc/getting-started/plugin/welcome).
2729
3. After installing the Cloud Agent, navigate to the [Cloud Editor](https://app.arduino.cc/sketches/).
2830
4. Now connect an Arduino board to your computer. Once you connect it, it should show up in the editor.
2931

30-
![Connect board to computer.]()
31-
32-
5. Finally, let's upload a sketch to your board. Click on the **"Examples"** icon, and navigate to **01.Basics > Blink**. Clicking the example will open a new window.
33-
34-
![Select the example.]()
32+
![Connect board to computer.](assets/board-connected.png)
3533

36-
6. With the Blink example open, click on the **"Upload"** button. This will start the upload of the Blink sketch to your board. Do **not** disconnect the board during this process.
34+
5. Finally, let's upload a sketch to your board. Click on the **"Examples"** icon, and navigate to **01.Basics > Blink**. Clicking the example will open a new window. Once open, click on the **"Upload"** button, and make sure to not disconnect your board during this process.
3735

38-
![Click on the "Upload" button.]()
36+
![Select the example and upload.](assets/blink.png)
3937

40-
7. You can see if it was successful or not in the console log window at the bottom. Here's an example of a successful upload:
38+
6. You can see if the operation was successful or not in the console log window at the bottom. Here's an example of a successful upload:
4139

42-
![Successful upload.]()
40+
![Successful upload.](assets/success-upload.png)
4341

44-
8. Congratulations, you have now successfully setup and used the Cloud Editor!
42+
Congratulations, you have now successfully setup and used the Cloud Editor! In the next sections, you can learn a little bit more on what each of the elements in the editor works.
4543

4644
## Cloud Editor Overview
4745

@@ -51,36 +49,63 @@ Now that we are all setup, let's take a look at the main components of the edito
5149

5250
1. **Arduino Cloud Menu** - navigation menu for the Arduino Cloud platform.
5351
2. **Examples** - a set of basic Arduino examples.
54-
3. **[Libraries](#)** - all libraries that are included in the Arduino library manager (5000+).
52+
3. **Libraries** - all libraries that are included in the Arduino library manager (5000+).
5553
4. **Reference** - the Arduino Reference provides an overview of the available methods in the Arduino programming API.
5654
5. **Editor** - the code editor area, where we write the program for our board.
5755
6. **Console Log** - this window informs you of the status of your compilation / upload.
5856
7. **Verify/Upload** - verify (compile) your code using the checkmark button, and upload it to your board using the right arrow.
59-
8. **Board Selection** - the board connected to your computer will be automatically displayed here. You can also manually change this.
57+
8. **Board / Port Selection** - the board connected to your computer will be automatically displayed here. You can also manually change this.
6058
9. **Serial Monitor** - a tool that reads serial data sent from your board to the computer.
6159

6260
## Serial Monitor
6361

6462
The Serial Monitor is a tool that allows you to read serial data from your board. This is useful for any general debugging cases, such as checking if a block of code is executed, or making sure the values you are using are accurate.
6563

66-
To use the tool, you will need a board connected to your computer that sends serial data. You can for example use the **Examples > 01.Basics > AnalogReadSerial** example to test it out.
64+
To use the tool, you will need a board connected to your computer that sends serial data, and a sketch that prints something. For this tutorial, the following sketch was used, which simply prints `Hello World!` every second.
65+
66+
```arduino
67+
void setup() {
68+
Serial.begin(9600);
69+
}
70+
71+
void loop() {
72+
Serial.println("Hello World!");
73+
delay(1000);
74+
}
75+
```
6776

68-
When clicking the Serial Monitor button, a new window will open, where you will receive the data. See the image below for a complete overview of its functions:
77+
When clicking the Serial Monitor button, a new window will open, where you can see the incoming data. See the image below for a complete overview of its functions:
6978

70-
![Serial Monitor.]()
79+
![Serial Monitor.](assets/serial.png)
7180

72-
1.
81+
In the Serial Moitor window you can:
82+
- Read incoming data,
83+
- Change baud rate (default is 9600),
84+
- Enable time stamp,
85+
- Download the data as `.csv`,
86+
- Pause the stream, and search through the log,
87+
- Clear the log.
7388

7489
## Resources
7590

7691
The resources (examples, libraries & reference) are all available from the menu on the left hand side.
7792

7893
### Examples
7994

80-
The examples found
95+
The "built-in" examples are a set of basic examples focused at learning some key Arduino concepts. Classic examples such as `Blink` and `AnalogReadSerial` will help you get started, with links inside each example to more detailed documentation.
8196

82-
### Libraries
97+
![Examples.](assets/examples.png)
98+
99+
### Library Manager
100+
101+
The library manager allows you to search & browse through all availables that exist in the Arduino Library Manager, which as of 2024 was 5000+.
102+
103+
Most libraries provide examples, which can be accessed be clicking the three dots next to a library. There is no need for downloading any library as they are available and up to date in the Arduino Cloud platform.
104+
105+
![Libraries](assets/libraries.png)
83106

84107
### Reference
85108

86-
The reference is an embedded version of the [Arduino Language Reference]().
109+
The reference is an embedded version of the [Arduino Language Reference](), which helps you understand the Arduino programming language & syntax.
110+
111+
![Reference.](assets/reference.png)

0 commit comments

Comments
 (0)
0