code for any sensors slides