View Single Post
Old 09-18-2010, 02:16 PM   #40 (permalink)
bobski
EcoModding Apprentice
 
Join Date: Jan 2010
Location: Newark, DE
Posts: 143

'91 CRX - '91 Honda CRX DX
90 day: 34.91 mpg (US)
Thanks: 0
Thanked 14 Times in 14 Posts
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?
  Reply With Quote