Yeah, analog pins are in short supply, but I2C uses device addresses so you can put many devices on the same two pins.
There are some inexpensive I2C general-purpose IO expander chips out there as well, so maybe the buttons (which monopolize 3 analog pins) could be offloaded to one of those? Many such chips provide an interrupt output that goes true when an input changes, and stays true until the chip state is read. Maybe that could be fed to one of the MPGuino's interrupt pins, rather than the injector pulsewidth measurement using them both? Anyone know why that was done?
|