code and diagrams to add pushbutton functionality to the Sense 3D scanner