I doubt it. They aren’t even quite the same form factor I think, for example the dev ones take coin batteries and final units will be rechargeable lithium. It’d be a lot of effort to make cases for dev unit people.
damn shame…oh well.
here is a good question, since i just uploaded breakout and changed the title, how do i go about clearing the high scores?
Well, I could tell you exactly how, but it would be best if you can work toward figuring it out yourself. I hope you don’t think I’m being a jerk. It is better to understand what you are doing rather than just running some commands!
The high scores are saved in EEPROM, which is a special space that is remembered even when the Arduboy is turned off. It is only 1024 bytes large.
In ArduBreakout.ino, the function that does the high score writing is called enterHighScore. Specifically, the command you can search for that is doing it is EEPROM.write. If you decipher what the program is doing there, you can write 0’s there instead to clear the high score information.
so, um. I downloaded arduino, and got breakout game into a sketch. I did all that just fine, then i remembered i’ve never done any coding ever, like never. I really want to learn this,making my own games has always been a dream of mine, but right now i am level Zero. Can you please point me in the direction of a worth while starting point?
ok, i found the get started guide on arduino’s website… is the led on pin 13?
For the Arduboy you are best going with a good C/C++ book and just trying to make heads and tails of the Arduboy code available to you. Currently there is only one game available to you, but fiddle about with the code, try make sense of it and work out what the code is doing. That’s the way I learnt to program personally, albeit with an easier programming language (C#).
I recommend using Visual Studio Express when trying to make sense of code. Right clicking on highlighted code likes method names when called allows you to see the entire method code by clicking one of the options in the right click menu (can’t remember the name of it exactly). Visual Studio is far more user friendly than other IDE’s and the best (I think) to get started on. But you won’t be able to upload the code directly from Visual Studio. If you edit the code you will need to save it and then reopen the ini file in arduino to upload it.
Also here is the 433 page documentation for the processor/ram/storage etc used on the device http://www.atmel.com/images/doc7766.pdf
Enjoy!
Installing games etc. ok so i got the dev kit, i installed the driver everyting looks fine.
is the arduboy soposed to show up as a mass storage device on my pc? (windows 7) . how do i communicate with the device? how do i see what’s on it? how do i install my test code on it?
total noob when it comes to non windows devices.
thanks in advance.
I’ve never known an arduino to come up as a mass storage device.
Anyway, download the Arduino IDE if you haven’t already. Open the Ardubreakout example .ino file and it should open all the files with it. You will need to set it to the right Arduino in the right port. On the “Board” sub menu, set it to the Arduino Leonardo. And on port set it to one of them and then try upload it, if upload fails try another on the list if there are any. I have 2 come up in this menu when I only have one Arduino device.
thanks. ill keep that in mind.
ok, i think i got the hello world written out properly, copied from the KS video. it verifies just fine, but i can’t get it onto the Arduboy. I finally have the computer recognizing that its there. but im getting this error message.
Arduino: 1.6.4 (Windows 7), Board: “Arduino Leonardo”
Sketch uses 7,902 bytes (27%) of program storage space. Maximum is 28,672 bytes.
Global variables use 1,220 bytes (47%) of dynamic memory, leaving 1,340 bytes for local variables. Maximum is 2,560 bytes.
avrdude: butterfly_recv(): programmer is not responding
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Im totally stuck, help please
… I plugged into a different USB port… that fixed it. God i hate computers sometimes, i have been sweating this for like three hours.
You are learning man this same kind of stuff catches me up all the time too, just part of the process. Hang in there
please excuse my ignorance.
But I’ve installed the Arduboy IDE, downloaded the Arduboy library zip file from GitHub.
Selected Sketch, Include Library, Add .ZIP Library, and selected Arduboy-master.zip from my downloads folder.
Then opening up the example FloatyBall and clicking on the tick to verify, I get the following errors:
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp: In member function 'void Arduboy::saveMuchPower()':
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp:153:24: error: 'power_usart1_disable' was not declared in this scope
power_usart1_disable();
^
In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:17,
from C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.h:4,
from C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp:1:
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp: In member function 'void Arduboy::initRandomSeed()':
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.h:31:38: error: 'MUX4' was not declared in this scope
#define ADC_VOLTAGE _BV(REFS0) | _BV(MUX4) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1)
^
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp:218:42: note: in expansion of macro 'ADC_VOLTAGE'
randomSeed(~rawADC(ADC_TEMP) * ~rawADC(ADC_VOLTAGE) * ~micros() + micros());
^
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp: In member function 'uint16_t Arduboy::rawADC(byte)':
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp:227:18: error: 'MUX5' was not declared in this scope
ADCSRB = _BV(MUX5);
^
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp: In member function 'uint8_t Arduboy::getInput()':
C:\Users\quang\Documents\Arduino\libraries\Arduboy-master\Arduboy.cpp:849:27: error: 'PINF' was not declared in this scope
buttons = buttons | (((~PINF) & B11000000) >> 6);
^
Error compiling.
Thanks to JO3RI in the IRC channel, I got it sorted,
I hadn’t set the Board to Arduino Leonardo under the Tools setting.
finally after taking a break due to school. i finally found it. thanks again
Be careful. I had two completely wipe out everything associated with Arduboy so that I could call up COM3.