Physics 108 Project Code for Instrument Interfacing