Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 03-29-2015, 02:35 AM   #1 (permalink)
EcoModding Apprentice
 
Join Date: Oct 2014
Location: Marysville, wa
Posts: 221

97 Civic HX sedan VX trans - '98 Honda Civic LX + HX + VX
90 day: 41.9 mpg (US)
Thanks: 23
Thanked 40 Times in 24 Posts
MPGuino with Arduino Uno help

Hello folks I am really stuck and clueless with this one.

I went to the MPGuino wiki and copied the whole code but when I paste it and try to upload it to my uno I get a long list of errors.

I am truly clueless when it comes to coding. I have no issue with building the hardware.

Is the code listed on the wiki not compatible with the Uno?

If it is I would GLADLY paypal someone to correct it so it will just load on my Arduino.

I have searched all over for some kind of MPGuino for dummies to no avail.

Any help would be super appreciated!

If screenshots of all my errors is helpful I will certainly post them.

Thank you!

__________________
1998 LX with a full HX swap + VX transaxle.





  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 03-29-2015, 05:38 PM   #2 (permalink)
EcoModding Apprentice
 
Join Date: Oct 2014
Location: Marysville, wa
Posts: 221

97 Civic HX sedan VX trans - '98 Honda Civic LX + HX + VX
90 day: 41.9 mpg (US)
Thanks: 23
Thanked 40 Times in 24 Posts
Here's the list of errors I get when compiling.

Arduino: 1.6.1 (Windows 7), Board: "Arduino Uno"

sketch_mar29b.ino:51:17: error: conflicting declaration 'typedef uint8_t boolean'

In file included from sketch_mar29b.ino:51:0:

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:117:14: error: 'boolean' has a previous declaration as 'typedef bool boolean'

typedef bool boolean;

^

sketch_mar29b.ino:91:15: error: 'prog_char' was not declared in this scope

sketch_mar29b.ino:91:27: error: 'str' was not declared in this scope

sketch_mar29b.ino:397:1: error: 'prog_char' does not name a type

sketch_mar29b.ino: In function 'void setup()':

sketch_mar29b.ino:403:2: error: 'displayFuncNames' was not declared in this scope

sketch_mar29b.ino:432:44: error: 'getStr' cannot be used as a function

sketch_mar29b.ino:434:44: error: 'getStr' cannot be used as a function

sketch_mar29b.ino: In function 'void mainloop()':

sketch_mar29b.ino:541:37: error: 'getStr' cannot be used as a function

sketch_mar29b.ino:549:42: error: 'getStr' cannot be used as a function

sketch_mar29b.ino:553:45: error: 'getStr' cannot be used as a function

sketch_mar29b.ino:559:23: error: 'displayFuncNames' was not declared in this scope

sketch_mar29b.ino:559:47: error: 'getStr' cannot be used as a function

sketch_mar29b.ino:564:42: error: 'getStr' cannot be used as a function

sketch_mar29b.ino:569:23: error: 'displayFuncNames' was not declared in this scope

sketch_mar29b.ino:569:47: error: 'getStr' cannot be used as a function

sketch_mar29b.ino: At global scope:

sketch_mar29b.ino:628:15: error: redefinition of 'char* getStr'

sketch_mar29b.ino:91:8: error: 'char* getStr' previously defined here

sketch_mar29b.ino:628:15: error: 'prog_char' was not declared in this scope

sketch_mar29b.ino:628:27: error: 'str' was not declared in this scope

In file included from sketch_mar29b.ino:49:0:

sketch_mar29b.ino: In function 'void LCD::init()':

sketch_mar29b.ino:755:22: error: variable 'chars' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
__________________
1998 LX with a full HX swap + VX transaxle.





  Reply With Quote
Old 03-31-2015, 12:19 AM   #3 (permalink)
EcoModding Apprentice
 
Join Date: Oct 2014
Location: Marysville, wa
Posts: 221

97 Civic HX sedan VX trans - '98 Honda Civic LX + HX + VX
90 day: 41.9 mpg (US)
Thanks: 23
Thanked 40 Times in 24 Posts
Managed to figure it out. Never mind.
__________________
1998 LX with a full HX swap + VX transaxle.





  Reply With Quote
Old 03-31-2015, 12:53 PM   #4 (permalink)
Master EcoModder
 
nemo's Avatar
 
Join Date: Nov 2010
Location: US
Posts: 838

Chief - '06 Pontiac Grand Prix
90 day: 24.78 mpg (US)

SF1 - '12 Ford Fiesta S
90 day: 25.76 mpg (US)
Thanks: 138
Thanked 180 Times in 139 Posts
So what was the answer?
__________________

  Reply With Quote
Old 03-31-2015, 05:36 PM   #5 (permalink)
EcoModding Apprentice
 
Join Date: Oct 2014
Location: Marysville, wa
Posts: 221

97 Civic HX sedan VX trans - '98 Honda Civic LX + HX + VX
90 day: 41.9 mpg (US)
Thanks: 23
Thanked 40 Times in 24 Posts
I was using too new of a version of the Arduino software. I downgraded to an older one and things loaded right up.
__________________
1998 LX with a full HX swap + VX transaxle.





  Reply With Quote
The Following 2 Users Say Thank You to firehawk618 For This Useful Post:
MobilOne (11-20-2015), nemo (03-31-2015)
Old 11-20-2015, 04:07 AM   #6 (permalink)
EcoModding Lurker
 
Join Date: Nov 2015
Location: Regina, SK Canada
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
which version

Which older version did you use and what version of the UNO do you have

  Reply With Quote
The Following User Says Thank You to Yezok1 For This Useful Post:
MobilOne (11-20-2015)
Reply  Post New Thread


Thread Tools




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