Unlock the secrets of Arduino IDE libraries — how they’re found, compiled, and used.
Learn where to place your code so that the compiler can find it.
In this tutorial, we'll dig in C/C++ compiler basic and how the Arduino IDE, specifically, handles *.ino vs *.cpp.
This background helps you navigate the journey to writing your own shareable, publishable libraries.
🔔 *Subscribe* for more on "Everything IoT" — hardware, firmware, cloud, tools, and projects.🔔
🛠️ *What You'll Learn In This Video:*
- C/C++ build basics
- Arduino IDE build particulars
- Arduino IDE search paths (in which folders it looks for your files)
- Tips for developing your own libraries (where to put them in different phases of development)
⏱️ *Chapters:*
0:00 - Intro & Today's Plan
1:49 - Arduino's Methods For Installing Libraries
3:45 - What Is A Library
4:50 - What's Happening In The Background
15:02 - How To Develop Your First Library
17:13 - How To Publish To Arduino
🔗 *Resources:*
- Arduino Library Installation:
https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries/- Arduino Sketch Build Process:
https://arduino.github.io/arduino-cli/1.2/sketch-build-process/#dependency-resolution- Arduino Library Specification:
https://docs.arduino.cc/arduino-cli/library-specification/- Arduino Style Guide for Creating Libraries:
https://docs.arduino.cc/learn/contributions/arduino-library-style-guide/*OhioIoT* is an IoT platform built for small-scale IoT projects (
https://www.ohioiot.com). #ESP32 #IoT #Firmware #C #ArduinoIDE #WiFi #InternetofThings #Arduino #EmbeddedSystems #OhioIoT