moving ttt board sensor code from other repo