Skip to content

Commit a8407fd

Browse files
authored
Merge pull request #1022 from arduino/jacobhylen/ide-update
IDE v2.1 Content update
2 parents 4ce9856 + 6deae70 commit a8407fd

25 files changed

+32
-13
lines changed
Loading
Loading

content/software/ide-v2/tutorials/01.getting-started-ide-v2/ide-v2-autocomplete-feature.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: 'An introductory guide to the Arduino IDE 2.'
55
tags:
66
- Arduino IDE 2
77
- Software Tools
8-
author: 'Karl Söderby'
8+
author: 'Karl Söderby & Jacob Hylén'
99
---
1010

1111
Makers, students & professionals have been using the classic Arduino IDE (Integrated Development Environment) ever since Arduino was born.
@@ -55,9 +55,9 @@ To access your sketchbook, click on the **folder icon** located in the sidebar.
5555

5656
![Boards Manager.](assets/board-manager.png)
5757

58-
With the Boards Manager, you can browse and install packages, or "cores" for your boards. A board package is always required when compiling and uploading code for your board.
58+
With the Boards Manager, you can browse and install packages, or "cores" for your boards. A core is always required when compiling and uploading code for your board.
5959

60-
There are several Arduino board packages available, such as **avr, samd, megaavr** and more.
60+
There are several Arduino cores available, such as **avr, samd, megaavr** and more.
6161

6262
***To learn more about the Boards Manager, visit the [Installing new boards tutorial](/software/ide-v2/tutorials/ide-v2-board-manager).***
6363

@@ -102,7 +102,7 @@ The debugger tool is used to test and **debug** programs, hence the name. It can
102102

103103
![Autocompletion tool.](assets/autocomplete.png)
104104

105-
Autocompletion is a must-have for code editors, and the 2.0 version comes well equipped. When writing code, this is useful to understand more about the elements of the Arduino API.
105+
Autocompletion is a must-have for code editors, and the 2 version comes well equipped. When writing code, this is useful to understand more about the elements of the Arduino API.
106106

107107
Note that you always need to select your board for autocompletion to work.
108108

@@ -114,6 +114,10 @@ Note that you always need to select your board for autocompletion to work.
114114

115115
The Remote Sketchbook feature lets you sync sketches from your [Arduino Cloud](https://cloud.arduino.cc/) sketchbook with your local computer. To enable this feature, you will need to login to your Arduino Cloud account.
116116

117+
You can also create a new cloud sketch directly in the IDE.
118+
119+
![New cloud sketch](./assets/new-cloud.png)
120+
117121
***To learn more about the Remote Sketchbook feature, visit the [Synchronizing Sketches tutorial](/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync).***
118122

119123
### Firmware & Certificate Uploader
@@ -126,7 +130,7 @@ You can upgrade and downgrade the firmware version for your Wi-Fi boards (with a
126130

127131
## Contribute
128132

129-
The Arduino IDE 2 is an open-source project that is free for anyone to download. You can contribute to the project through [donations](https://www.arduino.cc/en/donate/), or by reporting issues at [our GitHub repository](https://github.com/arduino/arduino-ide).
133+
The Arduino IDE 2 is an open-source project that is free for anyone to download. You can contribute to the project through [donations](https://www.arduino.cc/en/donate/), or by reporting issues to [our GitHub repository](https://github.com/arduino/arduino-ide).
130134

131135
## Conclusion
132136

content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/ide-v2-uploading-a-sketch.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: 'Learn the basics of verifying and uploading sketches with the new
55
tags:
66
- Uploading
77
- Basics
8-
author: 'Karl Söderby'
8+
author: 'Karl Söderby & Jacob Hylén'
99
---
1010

1111
## How to Upload a Sketch with the Arduino IDE 2
@@ -36,10 +36,14 @@ Uploading a sketch is quick and easy, but let's take a look at what we need to d
3636

3737
![Verifying and uploading buttons.](assets/uploading-a-sketch-img01.png)
3838

39-
**3.** First, we need to select the board that we are going to use. We can do this by navigating to **Tools > Port > {Board}**. The board(s) that are connected to your computer should appear here, and we need to select it by clicking it. In this case, our board is displayed as **COM17 (Arduino MKR WiFi1010)**.
39+
**3.** But before doing any of that, we should choose what board we are uploading to. Beside the verify and upload button you should see a a drop down menu, this will, in most cases, display Arduino boards that are connected to your computer. If your board is not automatically detected, you can either press "Select other board and port..." in the drop-down and follow the instructions, or go to **Tools > Board** and **Tools > Port** in the toolbar menu to select the board and port manually.
4040

4141
![Selecting the board.](assets/uploading-a-sketch-img03.png)
4242

43+
So connect your board to the computer and select it from the drop down menu. You'll know that there is a connection to the board when the board name appears in **bold**.
44+
45+
![Selecting the board.](assets/uploading-a-sketch-img03.5.png)
46+
4347
**4.** Click on the verify tool (checkmark). Since we are verifying an empty sketch, we can be sure it is going to compile. After a few seconds, we can see the result of the action in the console (black box in the bottom).
4448

4549
![Successful compilation printed in the console.](assets/uploading-a-sketch-img02.png)
Loading
Loading
Loading
Loading

content/software/ide-v2/tutorials/ide-v2-board-manager/ide-v2-board-manager.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: 'Learn how the new board manager tool works, and how to easily inst
55
tags:
66
- Installation
77
- Tools
8-
author: 'Karl Söderby'
8+
author: 'Karl Söderby & Jacob Hylén'
99
---
1010

1111
The board manager is a great tool for installing the necessary cores to use your Arduino boards. In this quick tutorial, we will take a look at how to install one, and choosing the right core for your board!
@@ -22,9 +22,11 @@ You can also follow the [downloading and installing the Arduino IDE 2](/software
2222

2323
The board manager is a tool that is used to install different cores on your local computer. So what is a **core**, and why is it necessary that I install one?
2424

25-
Simply explained, a core is written and designed for specific microcontrollers. Arduino offers several different types of boards, and these boards may also have different types of microcontrollers.
25+
Simply explained, a core is written and designed for specific microcontrollers. Arduino offers several different types of boards, and these boards may also have different types of microcontrollers. While different microcontrollers accomplish tasks in similar ways, the way code is compiled, pins are mapped, and what features are available is tailor-made to the silicon itself, meaning that this will also be microcontroller-specific.
2626

27-
For example, an Arduino UNO has an **ATmega328P**, which uses the **AVR core**, while an Arduino Nano 33 IoT has a **SAMD21** microcontroller, where we need to use the **SAMD core**.
27+
What a core does is to act as a layer between all of this microcontroller-specific jargon, and you - the maker. The core translates it into the Arduino API you are already familiar with so that you can program any of the microcontrollers in the Arduino ecosystem in the same way.
28+
29+
For example, an Arduino UNO has an **ATmega328P**, which uses the **AVR core**, while an Arduino Nano 33 IoT has a **SAMD21** microcontroller, where we need to use the **SAMD core**. However, regardless of what microcontroller is on the board we are using, `digitalWrite(LED_BUILTIN, HIGH)` will turn on the built-in LED, and `analogRead(A0)` will read the analog pin 0 and check for a voltage.
2830

2931
In conclusion, to use a specific board, we need to install a specific core.
3032

@@ -42,11 +44,11 @@ Installing a core is quick and easy, but let's take a look at what we need to do
4244

4345
![Navigating the board manager.](assets/installing-a-core-img02.png)
4446

45-
**4.** This will begin an installation process, which in some cases may take several minutes.
47+
**4.** This will begin an installation process, which usually only take a few moments.
4648

4749
![Installation may take a few minutes.](assets/installing-a-core-img03.png)
4850

49-
**5.** When it is finished, we can take a look at the core in the boards manager column, where it should say **"INSTALLED"**.
51+
**5.** When it is finished, we can take a look at the core in the boards manager column, where it should say **"INSTALLED"**, as well as noting which version you have installed on your machine.
5052

5153
![Board is installed.](assets/installing-a-core-img04.png)
5254

content/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync/ide-v2-cloud-sketch-sync.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,12 @@ You have now pushed your changes to the cloud. You can easily check if it has be
184184

185185
![Changes visible in the cloud.](assets/cloud-sketch-sync-img15.png)
186186

187+
## New Cloud Sketches
188+
189+
With the IDE 2.1 and newer, you can also create new Cloud sketches, directly from the offline IDE. When you are in the Cloud sketchbook, at the bottom of the window there's a button to create a fresh sketch.
190+
191+
![Create a New Cloud Sketch](./assets/cloud-sketch-sync-img16.png)
192+
187193
## Disabling the Remote Sketchbook
188194

189195
If you do not want to use the Remote Sketchbook feature, you can simply disable it in the editor. Navigate to **File > Advanced > Show/Hide Remote Sketchbook** to disable it. If you want to enable it again, simply click the same option!

content/software/ide-v2/tutorials/ide-v2-installing-a-library/ide-v2-installing-a-library.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tags:
66
- Libraries
77
- Installation
88
- Tools
9-
author: 'Karl Söderby'
9+
author: 'Karl Söderby & Jacob Hylén'
1010
---
1111

1212
A large part of the Arduino programming experience is the **use of libraries.** There are thousands of libraries that can be found online, and the best documented ones can be found and installed directly through the editor.
@@ -61,6 +61,9 @@ Almost all libraries come with already made examples that you can use. These are
6161

6262
![Choosing an example sketch from a library.](assets/installing-a-library-img06.png)
6363

64+
You can also access library examples directly in the library manager, by clicking the three dots next to the installed library, like this:
65+
![Library examples](./assets/installing-a-library-img06.5.png)
66+
6467
The chosen example will now open up in a new window, and you can start using it however you want to.
6568

6669
![A library example.](assets/installing-a-library-img07.png)

0 commit comments

Comments
 (0)