https://en.wikipedia.org/wiki/Resistor_ladder
this isn't quite a gotcha, really, 1 bit DAC are innately simple!