An open API service indexing awesome lists of open source software.

https://github.com/fbiego/libmaker

A Python script designed to generate the basic structure for an Arduino library
https://github.com/fbiego/libmaker

Last synced: 8 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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
```