proton:rtarduboy
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
proton:rtarduboy [2016/05/27 07:35] – created seth | proton:rtarduboy [2016/05/28 09:31] (current) – seth | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | === RTArduboy | + | === Proton Arduboy |
- | {{:proton:arduboy_dev.png|}} | + | {{:proton:arduboysim.png?300}} |
See a Vine of it in action [[https:// | See a Vine of it in action [[https:// | ||
Line 14: | Line 14: | ||
* Can interact with the mouse (click the buttons, easy) or the keyboard | * Can interact with the mouse (click the buttons, easy) or the keyboard | ||
* Pixel perfect simulation, includes AbPrinter, WCharacter, WString, etc | * Pixel perfect simulation, includes AbPrinter, WCharacter, WString, etc | ||
- | * Code pieces that lacks reentrancy (like a giant while loop until a key is pressed) work ok | + | * Even code pieces that lacks reentrancy (like a giant while loop until a key is pressed) work ok |
== Issues/Bad stuff == | == Issues/Bad stuff == | ||
Line 23: | Line 23: | ||
* No LED light simulation, those commands will just do nothing | * No LED light simulation, those commands will just do nothing | ||
* Somewhat hacky, only works with Windows. Wouldn' | * Somewhat hacky, only works with Windows. Wouldn' | ||
- | * Unfortunately optimized stuff like TEAM a.r.g' | + | * Unfortunately optimized stuff like TEAM a.r.g' |
== How to compile and run it as is == | == How to compile and run it as is == | ||
+ | * The Proton ArduboySim/ | ||
+ | |||
By default I've included a slightly modified version of Arduboy' | By default I've included a slightly modified version of Arduboy' | ||
- | Hopefully it runs! | + | Hopefully it runs. |
== How to convert your own Arduboy code/sketch to run == | == How to convert your own Arduboy code/sketch to run == | ||
- | * Add your sketch files to <proton install dir>/RTArduboy/Arduboy. (you should probably delete break_outbitmaps.* as your sketch likely doesn' | + | * Add your sketch files to <proton install dir>/ArduboySim/Arduboy. (you should probably delete break_outbitmaps.* as your sketch likely doesn' |
* Replace ardu_main.cpp with the contents of your .ino file. Delete your .ino file, you won't need it anymore, Arduboy.ino will be used instead | * Replace ardu_main.cpp with the contents of your .ino file. Delete your .ino file, you won't need it anymore, Arduboy.ino will be used instead | ||
* Rename begin() and loop() to main_being() and main_loop() | * Rename begin() and loop() to main_being() and main_loop() | ||
Line 40: | Line 42: | ||
== How to run your converted sketch on the real Arduino == | == How to run your converted sketch on the real Arduino == | ||
- | Just double click <proton install dir>/RTArduboy/ | + | Just double click <proton install dir>/ArduboySim/ |
== Thoughts/ | == Thoughts/ | ||
* Maybe there is a better way than the dummy .ino file calling main_begin() and main_loop(), | * Maybe there is a better way than the dummy .ino file calling main_begin() and main_loop(), | ||
- | * Most code is copied from the Arduboy/ | + | * Most code is copied from the Arduboy/ |
proton/rtarduboy.1464334517.txt.gz · Last modified: 2016/05/27 07:35 by seth