Most games seem to have an issue
Ardumod.h:25: error: ‘MUX4’ was not declared in this scope
#define ADC_VOLTAGE _BV(REFS0) | _BV(MUX4) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1)
sketch\Ardumod.cpp:92:42: note: in expansion of macro ‘ADC_VOLTAGE’
randomSeed(~rawADC(ADC_TEMP) * ~rawADC(ADC_VOLTAGE) * ~micros() + micros());
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).