Skip to content

A Python script designed to generate the basic structure for an Arduino library

License

Notifications You must be signed in to change notification settings

fbiego/libmaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libmaker

libmaker is a Python script designed to generate the basic structure for an Arduino library. It provides a starting point for building your library, including default generated code.

Usage

Simply run the script and provide your desired library name. Additionally, you can use optional flags to customize the generated output.

python libmaker.py Name

|--Name
|  |- Name.h
|  |- Name.cpp

python libmaker.py Name --arduino

|--Name
|  |--example
|  |  |--name
|  |     |- name.ino
|  |- library.json
|  |- library.properties
|  |- keywords.txt
|  |- Name.h
|  |- Name.cpp

python libmaker.py Name --src

|--Name
|  |--src
|  |  |- Name.h
|  |  |- Name.cpp

python libmaker.py Name --arduino --src

|--Name
|  |--example
|  |  |--name
|  |     |- name.ino
|  |- library.json
|  |- library.properties
|  |- keywords.txt
|  |--src
|  |  |- Name.h
|  |  |- Name.cpp

python libmaker.py Name --pio

|--Name
|  |--example
|  |  |--name
|  |     |- name.ino
|  |- library.json
|  |- library.properties
|  |- keywords.txt
|  |- platformio.ini
|  |--src
|  |  |- Name.h
|  |  |- Name.cpp

About

A Python script designed to generate the basic structure for an Arduino library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages