proton:rtarduboy
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| proton:rtarduboy [2016/05/28 08:41] – seth | proton:rtarduboy [2016/05/28 09:31] (current) – seth | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| === Proton Arduboy Simulator == | === Proton Arduboy Simulator == | ||
| - | {{: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 34: | Line 34: | ||
| == 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 42: | 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.1464424907.txt.gz · Last modified:  by seth
                
                