Open flaki opened 6 years ago
First the tinyscreensim was designed to simulate the TinyVideoGame Kit not the TinyArcade. There is not much difference so it isn't hard to get TinyAracde programs working. Both colormonster and viobyte programs compile with it. They add two files in addition to TinyArcade.h. Those are TinyConfig.h and TinyGameKit.h. Instead of just including the TinyArcade.h, they do:
TinyConfig.h in the colormonster repository defaults to the TinyArcade unless it is compiled in the simulator while viobyte defaults to the TinyVideoGame Kit.
Even with that your code won't compile. When g++ line 95, it doesn't know what tiny_arcade_everyXFrames is. Proper C++ requires that the function be defined first or have a prototype. So either move them up above or add something like:
bool tiny_arcade_everyXFrames(uint8_t frames);
earlier in the program. I should probably add a simple example program to the library.
I've added a simple example program called colortest. Let me know if you need any more help.
Hi! I'm trying to get a a fairly simple animation to compile on the simulator but not really getting anywhere, being presented with a bunch of compiler errors.
Would you mind posting a working "test" setup and
.ino
file that works on your machine so I can start figuring out why this thing does not seem to work?Find the error messages printed during execution below: