EcoModder.com

EcoModder.com (https://ecomodder.com/forum/)
-   OpenGauge / MPGuino FE computer (https://ecomodder.com/forum/opengauge-mpguino-fe-computer.html)
-   -   MPGuino with Arduino Uno help (https://ecomodder.com/forum/showthread.php/mpguino-arduino-uno-help-31627.html)

firehawk618 03-29-2015 02:35 AM

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!

firehawk618 03-29-2015 05:38 PM

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.

firehawk618 03-31-2015 12:19 AM

Managed to figure it out. Never mind.

nemo 03-31-2015 12:53 PM

So what was the answer?

firehawk618 03-31-2015 05:36 PM

I was using too new of a version of the Arduino software. I downgraded to an older one and things loaded right up.

Yezok1 11-20-2015 04:07 AM

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


All times are GMT -4. The time now is 12:29 PM.

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