sketch\Ardumod.cpp: In member function ‘uint16_t Arduboy::rawADC(byte)’:
Ardumod.cpp:101: error: ‘MUX5’ was not declared in this scope
ADCSRB = _BV(MUX5);
^
exit status 1
’MUX4’ was not declared in this scope
Basically I tried to compile 3 different games and got the same error. Finally the snake game compiled with no issues ( I noticed it was only the games that have the Ardumod .h/cpp files.
I can actually code C++ so the code itself isn’t the problem. It keeps telling me that something that is blatently declared in the code isn’t actually declared. Which makes no sense. I played around with it for about a half hour but I’m not sure where the _BV reference comes from since the arduino IDE software is pretty poor and doesn’t let you trace references like VS does.
Also once I did get the snake game to compile I couldn’t actually load it onto my arduboy.
Are there any other settings I need to change in the IDE before attempting to upload?
I selected the Arduino Leonardo on COM3 but the Uploading part of the process just sits at a full bar and never returns a result until I press the verify button again.
Then it tells me it had problems uploading (which is pretty obvious).
Did you also make sure to set the Tools->Board setting to “Arduino Leonardo” as well, as described in the Quick Start Guide? It’s the option right above "Port: “COM3 (Arduino Leonardo)” in the screenshot below. If you skip that step I believe you will get compile errors.
Nope, the only reason you’d see this error is because the proper board was not selected. If you select Arduino Leonardo as the board or use the Arduboy specific board files you’ll get going in no time.
Ah ha! I had selected it the first time I installed the IDE, but part of the installer failed and the IDE was missing files.
So I reinstalled it and I forgot that step the second time.
Like I said I’m totally new to arduino’s really and only used some ancient version in 2008 to make a robot. But I only wrote the code part and my team handled the rest of the setup with the micro controller.
Haha, its just an unordered set. Take one element from 10 thousand, any element, regardless of order, and it is 1/40k. If you order the set of of 40k arduboys, and then pick the first one in that ordered set, it is also 1/40k.
The only games that I can get to work are the TEAMa.r.g. games. Anyone know of a fix? The games that come pre-loaded when I downloaded the Arduboy Library do not work. If they load it is just a black screen, most have a compiling error.
[QUOTE=ekem]The only games that I can get to work are the TEAMa.r.g. games. Anyone know of a fix?
The games that come pre-loaded when I downloaded the Arduboy Library do
not work. If they load it is just a black screen, most have a compiling
error.[/QUOTE]
I’ve done some searching, though not much recently. Haven’t tried any games recently either. What I did find was some of the problems are clearly due to some library coding issues between Kickstarter editions and developer boards. The other stuff I found I had figured out on my own (excluding -Master in file names for instance).
I still get compiling errors. And sometimes the compile but only get a black screen.
The ArduBreakout that come with the main ArduBoy library gets this error:
ArduBreakout.ino:12:21: fatal error: Arduboy.h: No such file or directory
Compilation Terminated
Other games get a long list of “declaration” and conflicts with declarations errors involving C and C++.
And various other erros. Since Arduino IDE won’t let me copy and paste the errors and some of them are 10’s of lines long, I’m not going to retype them here.
I’ll need to download some newer games to see if they’ve been fixed by the original developers and see what happens.
I also have no idea how to quote on this forum… every other forum I’m in there is a “quote” button. I had to actually type the code for this…
I’m having the same problem as stewa2jm.Team ARG games work with no fuss but any other game will not work. I’m using Windows 10 and the most recent Arduino 1.6.8. I do have it set to Arduino Leonardo board and the correct COM port it is connected to.
Example:
I download the Puzzle Pack zip file and extract it.
I then go into the folder and select the .ino file.
Then I get a message telling me:
The file “ArduboyLife.ino” needs to be inside a sketch folder named “ArduboyLife”. Create this folder, move the file, and continue?
I click okay and it brings me to the sketch. I then try to compile and it gives me this error message:
In the case of github downloads, when you click the download zip button you get a zip file with a “GAMENAME_master” folder in it. Just delete the “_master” off the end of the extracted folder name. Out of curiosity, have you tried my game, Glove? I recently updated it but would like to know of there are any compilation issues that may have come up.