View Single Post
Old 12-07-2010, 09:01 PM   #11 (permalink)
FalconFour
EcoModding Lurker
 
FalconFour's Avatar
 
Join Date: Sep 2010
Location: Fresno, CA
Posts: 78

LEAF - '11 Nissan LEAF
Thanks: 4
Thanked 9 Times in 7 Posts
Ah, it does look like it's hardwired to 4 and 5. That'd work fine if MPGuino just went "straight down the lines" and went 0-1-2-3 for VSS-L-Center-R inputs... I swear, none of the pin mapping on MPGuino makes any sense at all (look at the jungle in the LCD wiring).

I think the button inputs are read once per 500ms cycle, so if you interrupt the cycle with your own function, digitalWrite() the EEPROM power line high (it uses far less power than the max of the ATMega chip, so you can power it directly I'd imagine, and digital pins 10/11 are free), perform your interactions, then digitalWrite() it low again, that would still work for pins 4 and 5, I think...

  Reply With Quote