Skip to main content Link Menu Expand (external link) Document Search Copy Copied

static void runBrainOS()

Runs the BrainOS function list.

This function runs an infinite loop, so it is designed to be put in a thread.

Example

void myBosFn(bool remake){
    //drawing code here
}
int main(){
    BosFn::addNewFn(myBosFn);
    thread brainOSThread = thread(BosFn::runBrainOS);
}