1
Tiny Arcade & Pocket Arcade / Re: Neo-Geo MVS Tiny Arcade skin
« on: August 14, 2016, 04:23:28 AM »
It looks amazing!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
/Users/magnusrunesson/Projects/Arduino/libraries/TinyScreen/TinyScreen.cpp: In constructor 'TinyScreen::TinyScreen(uint8_t)':
/Users/magnusrunesson/Projects/Arduino/libraries/TinyScreen/TinyScreen.cpp:487:12: error: 'SPI1' was not declared in this scope
TSSPI=&SPI1;
^
Instead, one way a similar capability can be fabricated is to simply make a function per "thread" and ensure that each "thread" function is cooperatively multi-tasking, which is to say, when you call into the function, it should have a quick check on whether it's time to do some piece of work, and exit quickly if not.
const int tinyLibraryVariable = 12;
#include <TinyLibrary.h>
int myLibraryVariable = tinyLibraryValue;
#include <TinyLibrary.h>
#include <MyLibrary.h>