Thread: Super MPGuino?
View Single Post
Old 02-24-2010, 01:14 AM   #73 (permalink)
gtkid2002
EcoModding Apprentice
 
gtkid2002's Avatar
 
Join Date: Feb 2009
Location: USA - WA
Posts: 110

The Bug - '69 Volkswagen Bug Base
Thanks: 6
Thanked 0 Times in 0 Posts
Yeah, I've been playing with those pins for a while. Just changing the numbers doesn't work on it for some reason. I know it should, but it doesn't. It's really really irritating. If you scroll down to just below the button code area, *where you pointed out I should change*, there will be some code that says something like

Code:
#define vssBit 1     //  pin14 is a bitmask 1 on port C        
#define lbuttonBit 8 //  pin17 is a bitmask 8 on port C        
#define mbuttonBit 16 // pin18 is a bitmask 16 on port C        
#define rbuttonBit 32 // pin19 is a bitmask 32 on port C
If I change that to what I believe should be the right ones, all I get is a rapidly changing screen that scrolls through everything constantly. I don't know how to use the Bounce bit of code to remove the noise either, so I'll have to tinker with that later.
__________________
I suck at coding! Woo!

1969 VW Bug - Daily Driver
1975 VW Baja - Current Project
Priors:
1989 Honda Prelude Si 4WS (RIP)
1995 Honda Prelude Si (Traded)
1980 Fiat Spider 2000 (Sold)
  Reply With Quote