EcoModder.com

EcoModder.com (https://ecomodder.com/forum/)
-   OpenGauge / MPGuino FE computer (https://ecomodder.com/forum/opengauge-mpguino-fe-computer.html)
-   -   0.86 code running on 16mhz crystal - help (https://ecomodder.com/forum/showthread.php/0-86-code-running-16mhz-crystal-help-21409.html)

Ecky 04-11-2012 11:35 PM

0.86 code running on 16mhz crystal - help
 
I'm currently playing with the 0.86 version of the code on my arduino-based MPGuino. There's a section commented out:

Quote:

//use with 16mhz, not tested
//#define cyclesperhour 3600
//#define dispadj 1000
//#define dispadj2 1250
//#define looptime 1000000ul/loopsPerSecond //1/2 second
//#define myubbr (16000000/16/9600-1)
//#define injhold parms[injectorSettleTimeIdx]

Which I used. I've noticed something very strange though - my instant mileage appears to be calculated correctly but my trip mileage seems to be 1.25x my instant mileage - for instance cruising along at 36mpg will give me an average trip mileage of 45. What variables do I need to change to correct this?

I haven't checked tank mileage against instant yet. What other factors might be affected?

nickdigger 04-12-2012 11:36 PM

dispadj2 should be 1000, not 1250.

Ecky 04-13-2012 05:48 PM

Quote:

Originally Posted by nickdigger (Post 300157)
dispadj2 should be 1000, not 1250.

Thanks! Everything seems in order now.


All times are GMT -4. The time now is 05:33 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com