Page 2 of 2

Re: use of processor pin PE0 for table switching

Posted: Sun Feb 22, 2015 10:00 am
by Addicted
Hi Lance,

OK, tried it, datalog attached. The log starts with the sport mode button engaged and it appears to 'float' between Table 2 and Default Table (I noticed the the 'decel' is doing the same). After about 15 seconds I disengage the sport button mode and it locks onto Default Table OK, engage sport mode button again and it starts floating again..

Martin

Re: use of processor pin PE0 for table switching

Posted: Sun Feb 22, 2015 4:17 pm
by Bernard Fife
Thanks for that, I will have a look and post back here when I have it sorted.

Re: use of processor pin PE0 for table switching

Posted: Sun Feb 22, 2015 5:44 pm
by Bernard Fife
Martin,

The attached code appears to work correctly (finally!) for table switching with either PE0 or PE1 on my bench. Hopefully it works for you too.
Monitor_5099s.abs.s19
Uses previous INI
(82.57 KiB) Downloaded 538 times
Lance.

Re: use of processor pin PE0 for table switching

Posted: Mon Feb 23, 2015 10:56 am
by Addicted
Thanks Lance, just tested it and yes it works perfectly!

1st March this car becomes fully road legal, very exciting! that gives me 2 months to get it ready to drive 1000 miles across Europe :D

Re: use of processor pin PE0 for table switching

Posted: Mon Feb 23, 2015 2:03 pm
by Bernard Fife
Cool, thanks for spotting the issue and testing the solutions. A road trip across Europe sounds like a lot of fun! Lance.