Sensor code. not tested
deleted emacs background