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

static void addNewFn(BosFn fn)

Adds the given function to the BrainOS function list.

Parameters

  • fn - The function to be added

Example

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