proton:rtarduboy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
proton:rtarduboy [2016/05/28 08:41] – seth | proton:rtarduboy [2016/05/28 08:42] – seth | ||
---|---|---|---|
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.txt · Last modified: 2016/05/28 09:31 by seth