Skip to content

mendokusai/resistor_calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resistor

inline resistors

A CLI resistor tool

I was tired of plugging in resistor codes into various web page forms. I wanted to just type them, and I mainly wanted to re-remember how to build an Elixir escript, and then use IO.ANSI color codes to show the band colors in in the command line.

Build

This uses Escript. After cloning this repo, use mix escript.build to build and then run with ./resistor like:

./resistor black red red gold

Future plans

Eventually, I may need to add a flag to reverse the process. Input a value and return the color codes. But I probably need to clean up after the kids for now.

About

A resistor calc script made with escript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages