Is there any code based tools for drawing schematics. I only need to draw some simple diagram, including some 16pin Microcontroller, wire, power supply…
I'd like to use code to specify the pin and components, and let the software do the layout for me. Kinda like define a graph with graphviz dot format.
Some thing I have in mind is:
define a Microcontroller
How can I design a circuit using a text based format?