Skip to content

augustocc/pinout-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pinos.sh - generates HTML pinout descriptions from a plain text file

This is a simple shell script to generate standard descriptions of pin connections between 2 devices. Call it like this:

./pinos.sh inputfile.txt

Sample output:

The corresponding input:

The input file is a series of lines with 3 fields (device 1 pin, device 2 pin and notes), separated by semicolons.

When the first field on a line is empty, the script assumes that the pin on device 2 is connected to the same pin on device 1 that was referenced on the previous line, and spans cells accordingly. See what happened on pins GND and 5V on the examples above.

The output is an HTML file with an embedded CSS sheet, that can be pasted wherever you want it.

About

Generates pinout descriptions in HTML + CSS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages