Skip to content

Configure and check pinouts for microcontrollers. Then generate a C++ file to access them in code.

License

Notifications You must be signed in to change notification settings

Daxxn/PinGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PinGenerator

Creates a C++ header file and documentation for an Arduino project.

C++ Header file

The header file is setup to create 3 main namespaces; digtl- Digital pins, anlg - analog pins, and Ser - serial communication pins. a nested namespace is used to group the different pins further.

Example:

project-pinout.h

namespace digtl {
  namespace leds {
    const int LEDA_PIN = 42;
    const int LEDB_PIN = 24;
    const int LEDC_PIN = 72;
  };
};

Documentation

A markdown file is also generated with table formatting.

Example:

Project Pinout.md

Digital

Name Pin
LEDA 42
LEDB 24
LEDC 72

About

Configure and check pinouts for microcontrollers. Then generate a C++ file to access them in code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages