/resist

Primary LanguageJavaScript

resist

This utility takes colors of a resistor to calculate its resistance and tolerance.

Resist Screenshot

Usage

$ resist convert -c "red red brown gold"
220Ω ∓ 5%
      ____   ____   ____   ____   ____
____ |    | |    | |    | |    | |    | ____
     |2   | |2   | |    | |10  | |5%  |
      ‾‾‾‾   ‾‾‾‾   ‾‾‾‾   ‾‾‾‾   ‾‾‾‾

Resources