Finished logic of main and mini XOception boards