diff --git a/content/software/ide-v2/tutorials/01.getting-started-ide-v2/assets/library-manager.png b/content/software/ide-v2/tutorials/01.getting-started-ide-v2/assets/library-manager.png index 15059b59e9..1413f6caab 100644 Binary files a/content/software/ide-v2/tutorials/01.getting-started-ide-v2/assets/library-manager.png and b/content/software/ide-v2/tutorials/01.getting-started-ide-v2/assets/library-manager.png differ diff --git a/content/software/ide-v2/tutorials/01.getting-started-ide-v2/assets/new-cloud.png b/content/software/ide-v2/tutorials/01.getting-started-ide-v2/assets/new-cloud.png new file mode 100644 index 0000000000..9a4acd6cd9 Binary files /dev/null and b/content/software/ide-v2/tutorials/01.getting-started-ide-v2/assets/new-cloud.png differ diff --git a/content/software/ide-v2/tutorials/01.getting-started-ide-v2/ide-v2-autocomplete-feature.md b/content/software/ide-v2/tutorials/01.getting-started-ide-v2/ide-v2-autocomplete-feature.md index 6acba87400..39b3da799f 100644 --- a/content/software/ide-v2/tutorials/01.getting-started-ide-v2/ide-v2-autocomplete-feature.md +++ b/content/software/ide-v2/tutorials/01.getting-started-ide-v2/ide-v2-autocomplete-feature.md @@ -5,7 +5,7 @@ description: 'An introductory guide to the Arduino IDE 2.' tags: - Arduino IDE 2 - Software Tools -author: 'Karl Söderby' +author: 'Karl Söderby & Jacob Hylén' --- 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. ![Boards Manager.](assets/board-manager.png) -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. +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. -There are several Arduino board packages available, such as **avr, samd, megaavr** and more. +There are several Arduino cores available, such as **avr, samd, megaavr** and more. ***To learn more about the Boards Manager, visit the [Installing new boards tutorial](/software/ide-v2/tutorials/ide-v2-board-manager).*** @@ -102,7 +102,7 @@ The debugger tool is used to test and **debug** programs, hence the name. It can ![Autocompletion tool.](assets/autocomplete.png) -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. +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. Note that you always need to select your board for autocompletion to work. @@ -114,6 +114,10 @@ Note that you always need to select your board for autocompletion to work. 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. +You can also create a new cloud sketch directly in the IDE. + +![New cloud sketch](./assets/new-cloud.png) + ***To learn more about the Remote Sketchbook feature, visit the [Synchronizing Sketches tutorial](/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync).*** ### Firmware & Certificate Uploader @@ -126,7 +130,7 @@ You can upgrade and downgrade the firmware version for your Wi-Fi boards (with a ## Contribute -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). +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). ## Conclusion diff --git a/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img01.png b/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img01.png index 42bc8193eb..6b12eee9c3 100644 Binary files a/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img01.png and b/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img01.png differ diff --git a/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img02.png b/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img02.png index add9a92649..ceb68b1a00 100644 Binary files a/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img02.png and b/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img02.png differ diff --git a/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img03.5.png b/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img03.5.png new file mode 100644 index 0000000000..8a4103fa06 Binary files /dev/null and b/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img03.5.png differ diff --git a/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img03.png b/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img03.png index 26ba19cc06..b7b519ac87 100644 Binary files a/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img03.png and b/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img03.png differ diff --git a/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img04.png b/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img04.png index 08a6e7a6e6..e731b66aa7 100644 Binary files a/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img04.png and b/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/assets/uploading-a-sketch-img04.png differ diff --git a/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/ide-v2-uploading-a-sketch.md b/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/ide-v2-uploading-a-sketch.md index 391f203ca2..84374bf2df 100644 --- a/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/ide-v2-uploading-a-sketch.md +++ b/content/software/ide-v2/tutorials/getting-started/02.ide-v2-uploading-a-sketch/ide-v2-uploading-a-sketch.md @@ -5,7 +5,7 @@ description: 'Learn the basics of verifying and uploading sketches with the new tags: - Uploading - Basics -author: 'Karl Söderby' +author: 'Karl Söderby & Jacob Hylén' --- ## 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 ![Verifying and uploading buttons.](assets/uploading-a-sketch-img01.png) -**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)**. +**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. ![Selecting the board.](assets/uploading-a-sketch-img03.png) +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**. + +![Selecting the board.](assets/uploading-a-sketch-img03.5.png) + **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). ![Successful compilation printed in the console.](assets/uploading-a-sketch-img02.png) diff --git a/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img01.png b/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img01.png index b896decb57..a679a88ab0 100644 Binary files a/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img01.png and b/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img01.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img02.png b/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img02.png index 585532a167..806fccb56b 100644 Binary files a/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img02.png and b/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img02.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img03.png b/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img03.png index f8a6b3c70b..b586cfd3a9 100644 Binary files a/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img03.png and b/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img03.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img04.png b/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img04.png index 38b6d312ad..2a4594bf7d 100644 Binary files a/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img04.png and b/content/software/ide-v2/tutorials/ide-v2-board-manager/assets/installing-a-core-img04.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-board-manager/ide-v2-board-manager.md b/content/software/ide-v2/tutorials/ide-v2-board-manager/ide-v2-board-manager.md index 45ea2438fb..b787bb2736 100644 --- a/content/software/ide-v2/tutorials/ide-v2-board-manager/ide-v2-board-manager.md +++ b/content/software/ide-v2/tutorials/ide-v2-board-manager/ide-v2-board-manager.md @@ -5,7 +5,7 @@ description: 'Learn how the new board manager tool works, and how to easily inst tags: - Installation - Tools -author: 'Karl Söderby' +author: 'Karl Söderby & Jacob Hylén' --- 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 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? -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. +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. -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**. +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. + +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. In conclusion, to use a specific board, we need to install a specific core. @@ -42,11 +44,11 @@ Installing a core is quick and easy, but let's take a look at what we need to do ![Navigating the board manager.](assets/installing-a-core-img02.png) -**4.** This will begin an installation process, which in some cases may take several minutes. +**4.** This will begin an installation process, which usually only take a few moments. ![Installation may take a few minutes.](assets/installing-a-core-img03.png) -**5.** When it is finished, we can take a look at the core in the boards manager column, where it should say **"INSTALLED"**. +**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. ![Board is installed.](assets/installing-a-core-img04.png) diff --git a/content/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync/assets/cloud-sketch-sync-img16.png b/content/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync/assets/cloud-sketch-sync-img16.png new file mode 100644 index 0000000000..4bb6189df0 Binary files /dev/null and b/content/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync/assets/cloud-sketch-sync-img16.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync/ide-v2-cloud-sketch-sync.md b/content/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync/ide-v2-cloud-sketch-sync.md index 848c89772f..16724287cd 100644 --- a/content/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync/ide-v2-cloud-sketch-sync.md +++ b/content/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync/ide-v2-cloud-sketch-sync.md @@ -184,6 +184,12 @@ You have now pushed your changes to the cloud. You can easily check if it has be ![Changes visible in the cloud.](assets/cloud-sketch-sync-img15.png) +## New Cloud Sketches + +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. + +![Create a New Cloud Sketch](./assets/cloud-sketch-sync-img16.png) + ## Disabling the Remote Sketchbook 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! diff --git a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img01.png b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img01.png index 18e4ce28e0..58c3f9aa59 100644 Binary files a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img01.png and b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img01.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img02.png b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img02.png index 825173dc27..87df8931c0 100644 Binary files a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img02.png and b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img02.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img03.png b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img03.png index cf0513389d..1e25af6314 100644 Binary files a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img03.png and b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img03.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img04.png b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img04.png index 7d2718a504..87b9cf5093 100644 Binary files a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img04.png and b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img04.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img05.png b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img05.png index beabe009bd..a16f1b5ff0 100644 Binary files a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img05.png and b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img05.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img06.5.png b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img06.5.png new file mode 100644 index 0000000000..832049eb4c Binary files /dev/null and b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img06.5.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img06.png b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img06.png index 0b1d5f737c..79e309a5da 100644 Binary files a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img06.png and b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img06.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img07.png b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img07.png index 75f810e35d..d82c5a321a 100644 Binary files a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img07.png and b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/assets/installing-a-library-img07.png differ diff --git a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/ide-v2-installing-a-library.md b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/ide-v2-installing-a-library.md index d0e7d7a961..801a349b13 100644 --- a/content/software/ide-v2/tutorials/ide-v2-installing-a-library/ide-v2-installing-a-library.md +++ b/content/software/ide-v2/tutorials/ide-v2-installing-a-library/ide-v2-installing-a-library.md @@ -6,7 +6,7 @@ tags: - Libraries - Installation - Tools -author: 'Karl Söderby' +author: 'Karl Söderby & Jacob Hylén' --- 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 ![Choosing an example sketch from a library.](assets/installing-a-library-img06.png) +You can also access library examples directly in the library manager, by clicking the three dots next to the installed library, like this: +![Library examples](./assets/installing-a-library-img06.5.png) + The chosen example will now open up in a new window, and you can start using it however you want to. ![A library example.](assets/installing-a-library-img07.png)