You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
summary: "Learn how to create, structure, and publish Arduino libraries for ESP32. This step-by-step guide covers everything from basic library structure to submitting your library to the Arduino Library Manager."
8
+
summary: "Learn how to create, structure, and publish Arduino libraries for ESP32. This step-by-step guide covers everything from understanding a library structure to submitting your library to the Arduino Library Manager."
9
9
---
10
10
11
11
Creating custom Arduino libraries is an excellent way to organize reusable code, share functionality with others, and make your projects more modular. This article covers the process of creating an Arduino library from scratch, using a simple "Hello World" library as a working example.
@@ -53,10 +53,10 @@ flowchart LR
53
53
54
54
To create an Arduino library for ESP32, you will need:
55
55
56
-
- Arduino IDE installed on your computer;
57
-
- Arduino Core for ESP32 installed;
58
-
- A text editor or IDE for writing code;
59
-
- Basic understanding of C++ programming.
56
+
- Arduino IDE installed on your computer
57
+
- Arduino Core for ESP32 installed
58
+
- A text editor or IDE for writing code
59
+
- Basic understanding of C++ programming
60
60
61
61
If you haven't installed the Arduino Core for ESP32 yet, follow the steps in the article [Getting Started with ESP32 Arduino](https://developer.espressif.com/blog/2025/10/arduino-get-started/).
62
62
@@ -413,18 +413,16 @@ Before releasing a new version, update the version number in your `library.prope
413
413
414
414
2.**Update the version** in `library.properties` based on the semantic versioning rules:
415
415
416
-
```properties
417
-
version=1.1.0
418
-
```
416
+
```properties
417
+
version=1.1.0
419
418
420
419
3. **Commit and tag** the new version:
421
420
422
-
```bash
423
-
git add library.properties
424
-
git commit -m "Release version 1.1.0"
425
-
git tag 1.1.0
426
-
git push origin main --tags
427
-
```
421
+
```bash
422
+
git add library.properties
423
+
git commit -m "Release version 1.1.0"
424
+
git tag 1.1.0
425
+
git push origin main --tags
428
426
429
427
4. **Create a release** on GitHub from the tag (optional but recommended).
0 commit comments