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! |
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. |
Managed to figure it out. Never mind.
|
So what was the answer?
|
I was using too new of a version of the Arduino software. I downgraded to an older one and things loaded right up.
|
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 01:38 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com