#Getting Started
Welcome to the Arduboy community! This page will help you get started with the Arduboy Developer Kit and give you the resources you need to get started making awesome games of your own!
Arduboy is based on the Arduino Leonardo featuring the Atmel 32u4 microcontroller. It features an OLED Screen, 6 input buttons, a 2-channel piezo speaker, and a coin cell battery. USB is provided for programming.
just got mine, i went on codebender since Bates said hes teaming up with them. i found the library for Squario and downloaded it (.zip file) and added it onto the Arduino IDE. do i just wait for the library to compile then upload it?
Actually for now they are advising us to avoid Codebender, because it appears that a few users have ruined their units by using Codebender to send its test program to the Arduboy. It’s unconfirmed but two different people had problems in the Arduboy IRC chat. See the note on the main page: http://www.arduboy.com/
understood, i knew that there was something wrong when i tried to compile it via arduino IDE. im guessing that we should just stand by until the kickstarter is over to get a new library?
I would compile the sample game linked above (https://github.com/Arduboy/ArduBreakout), look at the source and work from there to make your own programs. Look at Arduboy.cpp for functions that draw to the screen.
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.
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?
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.