The brain of the Quirkbot is an Atmega2u4 chip. This means it is fully compatible with Arduino programming (this is the same chip you find in the Arduino Leonardo, Pro Micro, LillPad USB, etc).
Obviously, the Quirkbot doesn't look like an Arduino, so you will need to understand how that different parts of the board map to different Arduino pins. Take a look at the Quirkbot constant map to see how they are related. We are also planning to create some images that illustrate that better, but for now please write in the comments in case you have any doubts.
We recommend you to program it in Codebender, since it runs directly from the browser and is quite easy to setup. But programming from the Arduino interface is also possible.
Codebender still doesn't fully support Quirkbot (the Quirkbot is not listed as board). We are working on a solution for that, but meanwhile you can use the Lillypad Arduino USB as the board. They are compatible with some minimal differences in how they handle the "mouth" LEDs.
- Make sure you have a recent version of Arduino (version 1.6.6 and above).
- Install the Quirkbot Board.
- If you want to use Arduino to upload code you copied and pasted from CODE you will also need to install the Quirkbot Library. You don't need the library if you just want to upload "normal" Arduino code.
Important things to consider
- If you are using Windows or Linux make sure you have installed the Quirkbot drivers.
Make sure there are no tabs open with http://code.quirkbot.com, otherwise they might interfere with the code upload.
If you select the wrong board type and upload the code to the Quirkbot, you might change the CPU clock frequency to an invalid value and brick your Quirkbot. If that happens you will need to do a factory reset (or just re-upload some healthy code directly while the Quirkbot is on bootloader mode).
Your Quirkbot will not be recognized by the visual CODE interface after you upload "normal" Arduino code to it. Do a factory reset to get it back the original mode.