Development project fr HC_SR04 library
  • Python 72.4%
  • C++ 27.6%
Find a file
2023-12-13 20:30:03 +01:00
.vscode Added PlatformIO project 2022-11-27 19:39:35 +01:00
include Added PlatformIO project 2022-11-27 19:39:35 +01:00
lib Increased LD293D to version v1.0.1 2023-12-13 20:30:03 +01:00
src Increased LD293D to version v1.0.1 2023-12-13 20:30:03 +01:00
test Added PlatformIO project 2022-11-27 19:39:35 +01:00
.gitignore Added PlatformIO project 2022-11-27 19:39:35 +01:00
.gitmodules Added submodule for L293D 2022-11-30 16:29:00 +01:00
Arduino-PlatformIO-Dev.code-workspace Renamed project 2022-11-27 20:07:37 +01:00
LICENSE Initial commit 2022-11-27 19:24:27 +01:00
platformio.ini Increased LD293D to version v1.0.1 2023-12-13 20:30:03 +01:00
README.md Increased LD293D to version v1.0.1 2023-12-13 20:30:03 +01:00

Arduino-PlatformIO library development project

This VSCode workspace is used todevelop Arduino and PlatformIO libraries. Clone repository using git or GitHub Desktop. If VSCode is used submodules are missing.

Check arduino lint

./arduino-lint.exe ./ModuleName

Add a submodule

https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/How-to-add-submodules-to-GitHub-repos

git clone PROJECT_GIT_URL
git log --oneline
git cd DIRECTORY
git submodule add SUB_MODULE_GIT_URL
git status
git add .
git commit -m "Add GitHub submodule"

Upload to Arduino library system

https://github.com/arduino/library-registry/blob/main/FAQ.md#readme

Just add a link to the library to this list:

Open this link to fork this repository and edit the list via the GitHub web interface: https://github.com/arduino/library-registry/edit/main/repositories.txt

Updates are handled automatically by increasing the version number in libraries.properties.

Upload to PlatformIO library system

https://docs.platformio.org/en/latest/librarymanager/creating.html

You can publish a library to the PlatformIO Registry using pio pkg publish command. Every time when you modify a source code of a library you will need to increment the “version” field in library.json manifest and re-publish again.

pio pkg publish .\"LIBRARY_NAME"
i.e:
pio pkg publish .\HC_SR04\

In case of issues with: UserSideException: Packaging from an archive does not work on Windows OS. Use

pio pkg pack .\"LIBRARY_NAME"
pio pkg publish .\"LIBRARY_NAME"

Currently active libraries