Fist time but long time enthusiast. I need some help.
I building a DeAgostini Millennium Falcon and I
can across this website.
I got all the parts and connected it according to website info.
Loaded it in Arduino software got multiple errors. Will not load on my
Mega 2560 board.
I tried to contact the person that made it, To no avail.
Anyone that can fix this code according to pic layout or get it working?
I'm will to make it worth your wild..
I'm a big Stat Trek and Star Wars fan with a huge collection of models and props.
Thank you for any help you can give.
My sketch errors at bottom.
Sketch creators youtube channel.
Sketch creators webbsight show complete info.
if you can fix this I'll make it worth your wild my friend.
Errors from my sketch.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Mega 2560 or Mega ADK"
deagofalconmega.ino: In function 'void my_mp3_play(int, int)':
deagofalconmega:105: error: 'Timer1' was not declared in this scope
deagofalconmega:106: error: 'mp3_play' was not declared in this scope
deagofalconmega.ino: In function 'void my_mp3_stop()':
deagofalconmega:114: error: 'Timer1' was not declared in this scope
deagofalconmega:115: error: 'mp3_stop' was not declared in this scope
deagofalconmega.ino: In function 'void my_mp3_vol(int)':
deagofalconmega:123: error: 'Timer1' was not declared in this scope
deagofalconmega:124: error: 'mp3_set_volume' was not declared in this scope
deagofalconmega.ino: In function 'void my_mp3_volup()':
deagofalconmega:133: error: 'Timer1' was not declared in this scope
deagofalconmega:134: error: 'mp3_set_volume' was not declared in this scope
deagofalconmega.ino: In function 'void my_mp3_voldown()':
deagofalconmega:143: error: 'Timer1' was not declared in this scope
deagofalconmega:144: error: 'mp3_set_volume' was not declared in this scope
deagofalconmega.ino: In function 'void flash()':
deagofalconmega:159: error: expected primary-expression before ';' token
deagofalconmega:177: error: expected `)' before ';' token
deagofalconmega:178: error: 'else' without a previous 'if'
deagofalconmega:179: error: name lookup of 'i' changed for new ISO 'for' scoping
deagofalconmega:156: error: using obsolete binding at 'i'
deagofalconmega.ino: At global scope:
deagofalconmega:187: error: expected declaration before '}' token
I just keep getting all kings of errors..See below.
If any one can talk me through this please.
Im new and dont have a clue what I'm doing or not doing.
But info and sketch bellow..
Errors--------------------------------------------------------------------------------------------------------
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Mega 2560 or Mega ADK"
DeagoFalconMega.ino: In function 'void my_mp3_play(int, int)':
DeagoFalconMega:107: error: 'Timer1' was not declared in this scope
DeagoFalconMega:108: error: 'mp3_play' was not declared in this scope
DeagoFalconMega.ino: In function 'void my_mp3_stop()':
DeagoFalconMega:116: error: 'Timer1' was not declared in this scope
DeagoFalconMega:117: error: 'mp3_stop' was not declared in this scope
DeagoFalconMega.ino: In function 'void my_mp3_vol(int)':
DeagoFalconMega:125: error: 'Timer1' was not declared in this scope
DeagoFalconMega:126: error: 'mp3_set_volume' was not declared in this scope
DeagoFalconMega.ino: In function 'void my_mp3_volup()':
DeagoFalconMega:135: error: 'Timer1' was not declared in this scope
DeagoFalconMega:136: error: 'mp3_set_volume' was not declared in this scope
DeagoFalconMega.ino: In function 'void my_mp3_voldown()':
DeagoFalconMega:145: error: 'Timer1' was not declared in this scope
DeagoFalconMega:146: error: 'mp3_set_volume' was not declared in this scope
DeagoFalconMega.ino: In function 'void read_pulse(int*)':
DeagoFalconMega:217: error: 'Timer1' was not declared in this scope
DeagoFalconMega.ino: In function 'void RemoteVerify(int*)':
DeagoFalconMega:273: error: expected primary-expression before '{' token
DeagoFalconMega:273: error: expected `;' before '{' token
DeagoFalconMega.ino: In function 'void setup()':
DeagoFalconMega:547: error: 'Timer1' was not declared in this scope
DeagoFalconMega:555: error: 'mp3_set_serial' was not declared in this scope
DeagoFalconMega:556: error: 'mp3_stop' was not declared in this scope
DeagoFalconMega:558: error: 'mp3_set_volume' was not declared in this scope
and click the "Clone or Download" green button at the top right; select ZIP and download the library. Open the ZIP file, select and copy (ctrl-c) the contents. Find your Arduino library folder (maybe under \Documents\Arduino\libraries) and past the folder there.
No.. I got all the part but still getting errors everywhere.
Maybe someday someone can send me a working file or
newbw instruction on how to get it working.
I even offer to pay/compensat anyone that can help me.