Simple resistor decoder because I don't like any of the tools on the internet