Just be careful about noise if you’re multiplexing a bunch of values and are in a noisy environment (although 5 values across 0-5V should be pretty damn noise tolerant :p). Your debouncing might also be a little weird and you loose the ability to do interrupts, but hey, small price to pay for 1-wire compatibility. The concept is pretty much the same as how RC controllers do it (except obviously they use PWM instead of raw analog) for multi-position switches. I’m impressed Sparkfun, especially for the price, with this board. Might have to pick up a couple at some point just to mess around with.
↧